From: Ingo Molnar Date: Fri, 2 Jan 2009 15:16:16 +0000 (+0100) Subject: kbuild: Remove gcc 4.1.0 quirk from init/main.c X-Git-Tag: Ubuntu-5.2.0-15.16~31706 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=609e5b71d0eca163df017ecfcf917b149875e744;p=mirror_ubuntu-eoan-kernel.git 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 Signed-off-by: Ingo Molnar Acked-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/init/main.c b/init/main.c index f5e64f20d2b0..ad8f9f53f8d1 100644 --- a/init/main.c +++ b/init/main.c @@ -75,15 +75,6 @@ #include #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);