From: Koen Kooi Date: Thu, 13 Jul 2006 12:04:24 +0000 (+0100) Subject: [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 X-Git-Tag: v5.15~53891^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a9da396a37fb3da5d0f212c41c6e96bcbf8fe590;p=mirror_ubuntu-kernels.git [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 Signed-off-by: Lennert Buytenhek Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- 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 { u16 __padding; #endif u64 low; -} floatx80; +} __attribute__ ((packed,aligned(4))) floatx80; /* -------------------------------------------------------------------------------