[PATCH 07/20] h8300: use the new byteorder headers

From: Harvey Harrison
Date: Thu Jul 17 2008 - 20:12:14 EST


Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
include/asm-h8300/byteorder.h | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/include/asm-h8300/byteorder.h b/include/asm-h8300/byteorder.h
index 36e597d..465b7af 100644
--- a/include/asm-h8300/byteorder.h
+++ b/include/asm-h8300/byteorder.h
@@ -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 */
--
1.5.6.3.569.ga9185


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/