Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_M32R_BYTEORDER_H |
2 | #define _ASM_M32R_BYTEORDER_H | ||||
3 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <asm/types.h> |
5 | |||||
6 | #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) | ||||
7 | # define __BYTEORDER_HAS_U64__ | ||||
8 | # define __SWAB_64_THRU_32__ | ||||
9 | #endif | ||||
10 | |||||
11 | #if defined(__LITTLE_ENDIAN__) | ||||
12 | # include <linux/byteorder/little_endian.h> | ||||
13 | #else | ||||
14 | # include <linux/byteorder/big_endian.h> | ||||
15 | #endif | ||||
16 | |||||
17 | #endif /* _ASM_M32R_BYTEORDER_H */ |