patch-2.3.23 linux/include/asm-sh/byteorder.h

Next file: linux/include/asm-sh/cache.h
Previous file: linux/include/asm-sh/bugs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-sh/byteorder.h linux/include/asm-sh/byteorder.h
@@ -5,7 +5,6 @@
  * Copyright (C) 1999  Niibe Yutaka
  */
 
-#include <linux/config.h>
 #include <asm/types.h>
 
 static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
@@ -34,7 +33,7 @@
 #  define __SWAB_64_THRU_32__
 #endif
 
-#ifdef CONFIG_LITTLE_ENDIAN
+#ifdef __LITTLE_ENDIAN__
 #include <linux/byteorder/little_endian.h>
 #else
 #include <linux/byteorder/big_endian.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)