Skip to content

Commit

Permalink
kbuild: Remove gcc 4.1.0 quirk from init/main.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jan 2, 2009
1 parent f9d1425 commit 609e5b7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 609e5b7

Please sign in to comment.