diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:35:58 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:35:58 -0400 |
commit | 218106a1104c598011e5df9d9aac7e0416be03e6 (patch) | |
tree | bdec31d1f6fd5fe11eed76bac56017affd3d1606 /fs/xfs/linux-2.6/xfs_linux.h | |
parent | 2282396d8157033503318fe4dee77ba82dc9d144 (diff) |
xfs: use generic get_unaligned_beXX helpers
Switch the shortform directory code over to use the generic
get_unaligned_beXX helpers instead of reinventing them. As a result
kill off xfs_arch.h and move the setting of XFS_NATIVE_HOST into
xfs_linux.h.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_linux.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 8633521b3b2e..d42f814e4d35 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -33,7 +33,6 @@ | |||
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #include <xfs_types.h> | 35 | #include <xfs_types.h> |
36 | #include <xfs_arch.h> | ||
37 | 36 | ||
38 | #include <kmem.h> | 37 | #include <kmem.h> |
39 | #include <mrlock.h> | 38 | #include <mrlock.h> |
@@ -88,6 +87,12 @@ | |||
88 | #include <xfs_buf.h> | 87 | #include <xfs_buf.h> |
89 | #include <xfs_message.h> | 88 | #include <xfs_message.h> |
90 | 89 | ||
90 | #ifdef __BIG_ENDIAN | ||
91 | #define XFS_NATIVE_HOST 1 | ||
92 | #else | ||
93 | #undef XFS_NATIVE_HOST | ||
94 | #endif | ||
95 | |||
91 | /* | 96 | /* |
92 | * Feature macros (disable/enable) | 97 | * Feature macros (disable/enable) |
93 | */ | 98 | */ |