]> err.no Git - linux-2.6/blobdiff - fs/xfs/linux-2.6/xfs_linux.h
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6] / fs / xfs / linux-2.6 / xfs_linux.h
index aded57321b12bc41326df7639a074b751b94c3cf..4d45d9351a6c7d0faef80065b73cc235714be712 100644 (file)
@@ -300,4 +300,11 @@ static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y)
        return x;
 }
 
+/* ARM old ABI has some weird alignment/padding */
+#if defined(__arm__) && !defined(__ARM_EABI__)
+#define __arch_pack __attribute__((packed))
+#else
+#define __arch_pack
+#endif
+
 #endif /* __XFS_LINUX__ */