lkml.org 
[lkml]   [2008]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 07/24] frv: use the new byteorder headers
From
Date
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.rc1.154.ge3fc



\
 
 \ /
  Last update: 2008-07-30 02:59    [W:0.028 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site