]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80
authorKoen Kooi <koen@dominion.kabel.utwente.nl>
Thu, 13 Jul 2006 12:04:24 +0000 (13:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Jul 2006 12:04:24 +0000 (13:04 +0100)
Patch from Koen Kooi

EABI padding rules necessitate the packed attribute of floatx80,
otherwise nwfpe complains about invalid structure sizes.

Signed-off-by: Koen Kooi <koen@dominion.kabel.utwente.nl>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/nwfpe/softfloat.h

index e1125bc39ee49ba57eea514cd79d1078385bbd8f..0a3067452cd29767544cc4b3198d7eabc0a32b7c 100644 (file)
@@ -61,7 +61,7 @@ typedef struct {
     u16 __padding;
 #endif
     u64 low;
-} floatx80;
+}  __attribute__ ((packed,aligned(4))) floatx80;
 
 /*
 -------------------------------------------------------------------------------