patch-2.1.132 linux/include/asm-arm/byteorder.h

Next file: linux/include/asm-arm/dec21285.h
Previous file: linux/include/asm-arm/arch-vnc/time.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/include/asm-arm/byteorder.h linux/include/asm-arm/byteorder.h
@@ -3,7 +3,10 @@
 
 #include <asm/types.h>
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ < 80
+
+/* Recent versions of GCC can do as well or better than this
+   on their own - we shouldn't interfere.  */
 
 static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
 {

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