Skip to content

Commit

Permalink
[ARM] 3729/3: EABI padding rules necessitate the packed attribute of …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Koen Kooi authored and Russell King committed Jul 13, 2006
1 parent 2704f0e commit a9da396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/nwfpe/softfloat.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ typedef struct {
u16 __padding;
#endif
u64 low;
} floatx80;
} __attribute__ ((packed,aligned(4))) floatx80;

/*
-------------------------------------------------------------------------------
Expand Down

0 comments on commit a9da396

Please sign in to comment.