LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 04/10] frv: use the new byteorder headers
@ 2008-11-05 18:35 Harvey Harrison
2008-11-07 15:36 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-11-05 18:35 UTC (permalink / raw)
To: David Howells; +Cc: Andrew Morton, LKML
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
include/asm-frv/byteorder.h | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/include/asm-frv/byteorder.h b/include/asm-frv/byteorder.h
index 411bec3..cb197c3 100644
--- a/include/asm-frv/byteorder.h
+++ b/include/asm-frv/byteorder.h
@@ -1,13 +1,9 @@
#ifndef _ASM_BYTEORDER_H
#define _ASM_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 /* _ASM_BYTEORDER_H */
--
1.6.0.3.756.gb776d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-07 15:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-05 18:35 [PATCH 04/10] frv: use the new byteorder headers Harvey Harrison
2008-11-07 15:36 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).