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 | |||||
4 | /* $Id$ */ | ||||
5 | |||||
6 | #include <asm/types.h> | ||||
7 | |||||
8 | #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) | ||||
9 | # define __BYTEORDER_HAS_U64__ | ||||
10 | # define __SWAB_64_THRU_32__ | ||||
11 | #endif | ||||
12 | |||||
13 | #if defined(__LITTLE_ENDIAN__) | ||||
14 | # include <linux/byteorder/little_endian.h> | ||||
15 | #else | ||||
16 | # include <linux/byteorder/big_endian.h> | ||||
17 | #endif | ||||
18 | |||||
19 | #endif /* _ASM_M32R_BYTEORDER_H */ |