Commit 4497e330 authored by Nathan Scott's avatar Nathan Scott

[XFS] Trivial/whitespace changes to sync up different trees a bit.

SGI Modid: 2.5.x-xfs:slinx:162245a
parent 5301b18c
...@@ -53,16 +53,18 @@ ...@@ -53,16 +53,18 @@
#define ARCH_NOCONVERT 1 #define ARCH_NOCONVERT 1
#if __BYTE_ORDER == __LITTLE_ENDIAN #if __BYTE_ORDER == __LITTLE_ENDIAN
#define ARCH_CONVERT 0 # define ARCH_CONVERT 0
#else #else
#define ARCH_CONVERT ARCH_NOCONVERT # define ARCH_CONVERT ARCH_NOCONVERT
#endif #endif
/* generic swapping macros */ /* generic swapping macros */
#ifndef HAVE_SWABMACROS
#define INT_SWAP16(type,var) ((typeof(type))(__swab16((__u16)(var)))) #define INT_SWAP16(type,var) ((typeof(type))(__swab16((__u16)(var))))
#define INT_SWAP32(type,var) ((typeof(type))(__swab32((__u32)(var)))) #define INT_SWAP32(type,var) ((typeof(type))(__swab32((__u32)(var))))
#define INT_SWAP64(type,var) ((typeof(type))(__swab64((__u64)(var)))) #define INT_SWAP64(type,var) ((typeof(type))(__swab64((__u64)(var))))
#endif
#define INT_SWAP(type, var) \ #define INT_SWAP(type, var) \
((sizeof(type) == 8) ? INT_SWAP64(type,var) : \ ((sizeof(type) == 8) ? INT_SWAP64(type,var) : \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment