patch-2.1.71 linux/include/asm-m68k/bitops.h

Next file: linux/include/asm-m68k/byteorder.h
Previous file: linux/include/asm-i386/siginfo.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.70/linux/include/asm-m68k/bitops.h linux/include/asm-m68k/bitops.h
@@ -257,19 +257,7 @@
 	return (p - addr) * 32 + res;
 }
 
-/* Byte swapping. */
 
-extern __inline__ unsigned short
-swab16 (unsigned short val)
-{
-	return (val << 8) | (val >> 8);
-}
-
-extern __inline__ unsigned int
-swab32 (unsigned int val)
-{
-	__asm__ ("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val));
-	return val;
-}
+/* Byte swapping (swab16 and swab32) is now in asm/byteorder.h . */
 
 #endif /* _M68K_BITOPS_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov