Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 609e5b71 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f9d14250
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -75,15 +75,6 @@
#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);