aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m32r/byteorder.h')
-rw-r--r--include/asm-m32r/byteorder.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-m32r/byteorder.h b/include/asm-m32r/byteorder.h
new file mode 100644
index 000000000000..3c0b9a2e03bc
--- /dev/null
+++ b/include/asm-m32r/byteorder.h
@@ -0,0 +1,19 @@
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 */