[PATCH] OMAP4: removed __packed__ annotation from pad_conf_entry

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 5 02:39:11 EST 2012


On Tue, Dec 04, 2012 at 01:03:31PM +0100, Enrico Scholz wrote:
> structure is used within barebox only and there is no need to pack it.
> As this option has a negative performance impact, remove it.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-omap/include/mach/omap4-mux.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap/include/mach/omap4-mux.h b/arch/arm/mach-omap/include/mach/omap4-mux.h
> index 9088631..db92a61 100644
> --- a/arch/arm/mach-omap/include/mach/omap4-mux.h
> +++ b/arch/arm/mach-omap/include/mach/omap4-mux.h
> @@ -30,7 +30,7 @@ struct pad_conf_entry {
>  
>  	u16 val;
>  
> -} __attribute__ ((packed));
> +};
>  
>  #define WAKEUP_EN       (1 << 14)
>  #ifdef CONFIG_OFF_PADCONF
> -- 
> 1.7.11.7
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list