Skip to contentSkip to conversation

h8300: use the new byteorder headers

PATCH In review Harvey Harrison 1 participant 1 message Jul 30, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 8/24 h8300: use the new byteorder headers

---
 include/asm-h8300/byteorder.h |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
include/asm-h8300/byteorder.h +3 -7
index 36e597d..465b7af 100644
@@ -1,13 +1,9 @@
 #ifndef _H8300_BYTEORDER_H
 #define _H8300_BYTEORDER_H
 
-#include <asm/types.h>
+#define __BIG_ENDIAN
+#define __SWAB_64_THRU_32__
 
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-#  define __BYTEORDER_HAS_U64__
-#  define __SWAB_64_THRU_32__
-#endif
-
-#include <linux/byteorder/big_endian.h>
+#include <linux/byteorder.h>
 
 #endif /* _H8300_BYTEORDER_H */
Signature · 1 line
1.6.0.rc1.154.ge3fc