patch-1.3.53 linux/include/asm-i386/byteorder.h
Next file: linux/include/asm-i386/pgtable.h
Previous file: linux/include/asm-i386/bugs.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 2 15:11:55 1996
- Orig file:
v1.3.52/linux/include/asm-i386/byteorder.h
- Orig date:
Wed Dec 27 09:12:14 1995
diff -u --recursive --new-file v1.3.52/linux/include/asm-i386/byteorder.h linux/include/asm-i386/byteorder.h
@@ -27,7 +27,7 @@
extern __inline__ unsigned long int
__ntohl(unsigned long int x)
{
-#if defined(CONFIG_M486) && defined(__KERNEL__)
+#if defined(__KERNEL__) && !defined(CONFIG_M386)
__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
with Sam's (original) version of this