aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-02 10:16:16 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-02 13:09:27 -0500
commit609e5b71d0eca163df017ecfcf917b149875e744 (patch)
tree0ebfe5f2dd06722f63136b30e29b2d39d768c84f /init
parentf9d14250071eda9972e4c9cea745a11185952114 (diff)
kbuild: Remove gcc 4.1.0 quirk from init/main.c
Impact: cleanup We now have a cleaner check for gcc 4.1.0/4.1.1 trouble in include/linux/compiler-gcc4.h, so remove the 4.1.0 quirk from init/main.c. Reported-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/init/main.c b/init/main.c
index f5e64f20d2b..ad8f9f53f8d 100644
--- a/init/main.c
+++ b/init/main.c
@@ -75,15 +75,6 @@
75#include <asm/smp.h> 75#include <asm/smp.h>
76#endif 76#endif
77 77
78/*
79 * This is one of the first .c files built. Error out early if we have compiler
80 * trouble.
81 */
82
83#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0
84#warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended.
85#endif
86
87static int kernel_init(void *); 78static int kernel_init(void *);
88 79
89extern void init_IRQ(void); 80extern void init_IRQ(void);