diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-04 13:02:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-04 13:02:46 +0100 |
commit | 17af691cd19765b782d891fc50c1568d0f1276b3 (patch) | |
tree | 6f51e67e4a433ee0ff866a6ac18a4bce798fe0c7 /include/asm-arm/stat.h | |
parent | 68070bdeeca7b7af6a42c0b3e5b1247e83c22ff9 (diff) |
[PATCH] ARM: Fix new-ABI layout of struct stat64
Add __attribute__((packed)) to ensure that the stat64 structure is
correctly laid out no matter which ABI the kernel is compiled for.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/stat.h')
-rw-r--r-- | include/asm-arm/stat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/stat.h b/include/asm-arm/stat.h index ca8e7a8436d..ec4e2c2e3b4 100644 --- a/include/asm-arm/stat.h +++ b/include/asm-arm/stat.h @@ -89,6 +89,6 @@ struct stat64 { unsigned long st_ctime_nsec; unsigned long long st_ino; -}; +} __attribute__((packed)); #endif |