[PATCH] Fixed a number of bugs in the PHY Layer
[linux-2.6/kmemtrace.git] / include / asm-m32r / byteorder.h
blob3c0b9a2e03bc828b2e3eba1d738586d5bb8e1d8c
1 #ifndef _ASM_M32R_BYTEORDER_H
2 #define _ASM_M32R_BYTEORDER_H
4 /* $Id$ */
6 #include <asm/types.h>
8 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
9 # define __BYTEORDER_HAS_U64__
10 # define __SWAB_64_THRU_32__
11 #endif
13 #if defined(__LITTLE_ENDIAN__)
14 # include <linux/byteorder/little_endian.h>
15 #else
16 # include <linux/byteorder/big_endian.h>
17 #endif
19 #endif /* _ASM_M32R_BYTEORDER_H */