patch-2.2.16 linux/include/linux/linkage.h

Next file: linux/include/linux/major.h
Previous file: linux/include/linux/isdn_ppp.h
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/include/linux/linkage.h linux/include/linux/linkage.h
@@ -7,7 +7,7 @@
 #define CPP_ASMLINKAGE
 #endif
 
-#if defined __i386__ && (__GNUC__ > 2 || __GNUC_MINOR__ > 7)
+#if defined __i386__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 7)
 #define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
 #else
 #define asmlinkage CPP_ASMLINKAGE

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