patch-2.2.0-pre2 linux/include/asm-i386/byteorder.h
Next file: linux/include/asm-i386/elf.h
Previous file: linux/include/asm-i386/bugs.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Dec 30 14:42:47 1998
-  Orig file: 
v2.2.0-pre1/linux/include/asm-i386/byteorder.h
-  Orig date: 
Fri Jul 31 17:05:52 1998
diff -u --recursive --new-file v2.2.0-pre1/linux/include/asm-i386/byteorder.h linux/include/asm-i386/byteorder.h
@@ -12,7 +12,7 @@
 
 static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
 {
-#if defined(__KERNEL__) && !defined(CONFIG_M386)
+#ifdef CONFIG_BSWAP
 	__asm__("bswap %0" : "=r" (x) : "0" (x));
 #else
 	__asm__("xchgb %b0,%h0\n\t"	/* swap lower bytes	*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov