aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlistair John Strachan <s0348365@sms.ed.ac.uk>2006-12-12 19:28:50 +0100
committerAdrian Bunk <bunk@stusta.de>2006-12-12 19:28:50 +0100
commit53569ab7851fd564427f7529b17162cba9a28407 (patch)
treeb62783b40395572e6d71af71963b961e12edd8d3 /include
parentKconfig: fix spelling error in config KALLSYMS help text (diff)
downloadlinux-dev-53569ab7851fd564427f7529b17162cba9a28407.tar.xz
linux-dev-53569ab7851fd564427f7529b17162cba9a28407.zip
include/linux/compiler.h: reject gcc 3 < gcc 3.2
The kernel doesn't compile with GCC <3.2, do not allow it to succeed if GCC 3.0.x or 3.1.x are used. Signed-off-by: Alistair John Strachan <s0348365@sms.ed.ac.uk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 538423d4a865..aca66984aafd 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -40,7 +40,7 @@ extern void __chk_io_ptr(void __iomem *);
#error no compiler-gcc.h file for this gcc version
#elif __GNUC__ == 4
# include <linux/compiler-gcc4.h>
-#elif __GNUC__ == 3
+#elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h>
#else
# error Sorry, your compiler is too old/not recognized.