2008-11-05 18:36:53

by Harvey Harrison

[permalink] [raw]
Subject: [PATCH 05/10] h8300: use the new byteorder headers

Signed-off-by: Harvey Harrison <[email protected]>
---
arch/h8300/include/asm/byteorder.h | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/arch/h8300/include/asm/byteorder.h b/arch/h8300/include/asm/byteorder.h
index 36e597d..465b7af 100644
--- a/arch/h8300/include/asm/byteorder.h
+++ b/arch/h8300/include/asm/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.6.0.3.756.gb776d