Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / include / asm-m32r / byteorder.h
blob10b2c1d11614995f12e23632efa0efbc690a3d6b
1 #ifndef _ASM_M32R_BYTEORDER_H
2 #define _ASM_M32R_BYTEORDER_H
4 #include <asm/types.h>
6 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
7 # define __BYTEORDER_HAS_U64__
8 # define __SWAB_64_THRU_32__
9 #endif
11 #if defined(__LITTLE_ENDIAN__)
12 # include <linux/byteorder/little_endian.h>
13 #else
14 # include <linux/byteorder/big_endian.h>
15 #endif
17 #endif /* _ASM_M32R_BYTEORDER_H */