kbuild: Remove gcc 4.1.0 quirk from init/main.c
authorIngo Molnar <mingo@elte.hu>
Fri, 2 Jan 2009 15:16:16 +0000 (16:16 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:09:27 +0000 (10:09 -0800)
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>
init/main.c

index f5e64f2..ad8f9f5 100644 (file)
 #include <asm/smp.h>
 #endif
 
-/*
- * This is one of the first .c files built. Error out early if we have compiler
- * trouble.
- */
-
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0
-#warning gcc-4.1.0 is known to miscompile the kernel.  A different compiler version is recommended.
-#endif
-
 static int kernel_init(void *);
 
 extern void init_IRQ(void);