patch-2.2.16 linux/include/asm-ppc/byteorder.h

Next file: linux/include/asm-ppc/init.h
Previous file: linux/include/asm-mips/init.h
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/include/asm-ppc/byteorder.h linux/include/asm-ppc/byteorder.h
@@ -38,7 +38,7 @@
 /* alas, egcs sounds like it has a bug in this code that doesn't use the
    inline asm correctly, and can cause file corruption. Until I hear that
    it's fixed, I can live without the extra speed. I hope. */
-#if !(__GNUC__ >= 2 && __GNUC_MINOR__ >= 90)
+#if !((__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 90))
 #if 0
 #  define __arch_swab16(x) ld_le16(&x)
 #  define __arch_swab32(x) ld_le32(&x)

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