[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)
commit713c481519f19df9e6d90f257e7da0336b057592
treeb8242d9f1b94f94a7075a021a3f80ddf0c0de25c
parent704bdda03827db8a551e82b312037d63ba3c22ff
[ARM] 3108/2: old ABI compat: statfs64 and fstatfs64

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>
arch/arm/kernel/calls.S
arch/arm/kernel/entry-common.S
include/asm-arm/statfs.h