[ARM] 3108/2: old ABI compat: statfs64 and fstatfs64
authorNicolas Pitre <nico@cam.org>
Sat, 14 Jan 2006 16:35:03 +0000 (16:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Jan 2006 16:35:03 +0000 (16:35 +0000)
Patch from Nicolas Pitre

struct statfs64 has extra padding with EABI growing its size from 84 to
88. This struct is now __attribute__((packed,aligned(4))) with a small
assembly wrapper to force the sz argument to 84 if it is 88 to avoid
copying the extra padding over user space memory unexpecting it.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found