diff options
author | Koen Kooi <koen@dominion.kabel.utwente.nl> | 2006-07-13 08:04:24 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-13 08:04:24 -0400 |
commit | a9da396a37fb3da5d0f212c41c6e96bcbf8fe590 (patch) | |
tree | 14cae1ecad305e3503c27e990ef6af329ec36957 | |
parent | 2704f0e69f9e191c6f5873ebfc878e4be1893ef8 (diff) |
[ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80
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>
-rw-r--r-- | arch/arm/nwfpe/softfloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/nwfpe/softfloat.h b/arch/arm/nwfpe/softfloat.h index e1125bc39ee4..0a3067452cd2 100644 --- a/arch/arm/nwfpe/softfloat.h +++ b/arch/arm/nwfpe/softfloat.h | |||
@@ -61,7 +61,7 @@ typedef struct { | |||
61 | u16 __padding; | 61 | u16 __padding; |
62 | #endif | 62 | #endif |
63 | u64 low; | 63 | u64 low; |
64 | } floatx80; | 64 | } __attribute__ ((packed,aligned(4))) floatx80; |
65 | 65 | ||
66 | /* | 66 | /* |
67 | ------------------------------------------------------------------------------- | 67 | ------------------------------------------------------------------------------- |