git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[XFS] Pack some shortform dir2 structures for the ARM old ABI
[pandora-kernel.git]
/
fs
/
xfs
/
linux-2.6
/
xfs_linux.h
diff --git
a/fs/xfs/linux-2.6/xfs_linux.h
b/fs/xfs/linux-2.6/xfs_linux.h
index
aded573
..
4d45d93
100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_linux.h
+++ b/
fs/xfs/linux-2.6/xfs_linux.h
@@
-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__ */