From: Russell King Date: Mon, 4 Jul 2005 12:02:46 +0000 (+0100) Subject: [PATCH] ARM: Fix new-ABI layout of struct stat64 X-Git-Tag: v2.6.13-rc2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=17af691cd19765b782d891fc50c1568d0f1276b3;p=linux-2.6-omap-h63xx.git [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 --- 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