tree 6f51e67e4a433ee0ff866a6ac18a4bce798fe0c7
parent 68070bdeeca7b7af6a42c0b3e5b1247e83c22ff9
author Russell King <[EMAIL PROTECTED]> Mon, 04 Jul 2005 13:02:46 +0100
committer Russell King <[EMAIL PROTECTED]> Mon, 04 Jul 2005 13:02:46 +0100

[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 <[EMAIL PROTECTED]>

 include/asm-arm/stat.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-arm/stat.h b/include/asm-arm/stat.h
--- 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
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to