diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_linux.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 4edc46915b57..4d45d9351a6c 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -76,6 +76,7 @@ | |||
76 | #include <linux/log2.h> | 76 | #include <linux/log2.h> |
77 | #include <linux/spinlock.h> | 77 | #include <linux/spinlock.h> |
78 | #include <linux/random.h> | 78 | #include <linux/random.h> |
79 | #include <linux/ctype.h> | ||
79 | 80 | ||
80 | #include <asm/page.h> | 81 | #include <asm/page.h> |
81 | #include <asm/div64.h> | 82 | #include <asm/div64.h> |
@@ -299,4 +300,11 @@ static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y) | |||
299 | return x; | 300 | return x; |
300 | } | 301 | } |
301 | 302 | ||
303 | /* ARM old ABI has some weird alignment/padding */ | ||
304 | #if defined(__arm__) && !defined(__ARM_EABI__) | ||
305 | #define __arch_pack __attribute__((packed)) | ||
306 | #else | ||
307 | #define __arch_pack | ||
308 | #endif | ||
309 | |||
302 | #endif /* __XFS_LINUX__ */ | 310 | #endif /* __XFS_LINUX__ */ |