Skip to contentSkip to conversation

m32r: use the new byteorder headers

PATCH In review Harvey Harrison 1 participant 1 message Aug 13, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 9/22 m32r: use the new byteorder headers

---
The prerequisite patches have landed in Linus' tree now.

 include/asm-m32r/byteorder.h |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
include/asm-m32r/byteorder.h +6 -9
index 10b2c1d..a99896f 100644
@@ -1,17 +1,14 @@
 #ifndef _ASM_M32R_BYTEORDER_H
 #define _ASM_M32R_BYTEORDER_H
 
-#include <asm/types.h>
-
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-#  define __BYTEORDER_HAS_U64__
-#  define __SWAB_64_THRU_32__
-#endif
-
 #if defined(__LITTLE_ENDIAN__)
-#  include <linux/byteorder/little_endian.h>
+# define __LITTLE_ENDIAN
 #else
-#  include <linux/byteorder/big_endian.h>
+# define __BIG_ENDIAN
 #endif
 
+#define __SWAB_64_THRU_32__
+
+#include <linux/byteorder.h>
+
 #endif /* _ASM_M32R_BYTEORDER_H */
Signature · 1 line
1.6.0.rc2.233.g3cb9d