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

Next file: linux/include/asm-s390/current.h
Previous file: linux/include/asm-ppc/byteorder.h
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/include/asm-ppc/init.h linux/include/asm-ppc/init.h
@@ -1,7 +1,7 @@
 #ifndef _PPC_INIT_H
 #define _PPC_INIT_H
 
-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 90 /* egcs */
+#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 90) /* egcs */
 #define __init __attribute__ ((__section__ (".text.init")))
 #define __initdata __attribute__ ((__section__ (".data.init")))
 #define __initfunc(__arginit) \

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