diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-04 08:02:46 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-04 08:02:46 -0400 |
commit | 17af691cd19765b782d891fc50c1568d0f1276b3 (patch) | |
tree | 6f51e67e4a433ee0ff866a6ac18a4bce798fe0c7 | |
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>
-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 ca8e7a8436da..ec4e2c2e3b47 100644 --- a/include/asm-arm/stat.h +++ b/include/asm-arm/stat.h | |||
@@ -89,6 +89,6 @@ struct stat64 { | |||
89 | unsigned long st_ctime_nsec; | 89 | unsigned long st_ctime_nsec; |
90 | 90 | ||
91 | unsigned long long st_ino; | 91 | unsigned long long st_ino; |
92 | }; | 92 | } __attribute__((packed)); |
93 | 93 | ||
94 | #endif | 94 | #endif |