[PATCH] OMAP4: removed __packed__ annotation from pad_conf_entry

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Tue Dec 4 07:03:31 EST 2012


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>
---
 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




More information about the barebox mailing list