提交 a9da396a 编写于 作者: K Koen Kooi 提交者: Russell King

[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: NKoen Kooi <koen@dominion.kabel.utwente.nl>
Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NNicolas Pitre <nico@cam.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 2704f0e6
......@@ -61,7 +61,7 @@ typedef struct {
u16 __padding;
#endif
u64 low;
} floatx80;
} __attribute__ ((packed,aligned(4))) floatx80;
/*
-------------------------------------------------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册