summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/stat.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-07-04 13:02:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-07-04 13:02:46 +0100
commit17af691cd19765b782d891fc50c1568d0f1276b3 (patch)
tree6f51e67e4a433ee0ff866a6ac18a4bce798fe0c7 /include/asm-arm/stat.h
parent68070bdeeca7b7af6a42c0b3e5b1247e83c22ff9 (diff)
downloadlinux-17af691cd19765b782d891fc50c1568d0f1276b3.tar.gz
linux-17af691cd19765b782d891fc50c1568d0f1276b3.tar.bz2
linux-17af691cd19765b782d891fc50c1568d0f1276b3.zip
[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.h2
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 {
unsigned long st_ctime_nsec;
unsigned long long st_ino;
-};
+} __attribute__((packed));
#endif