aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 36f608a7cfba..1174ae3aec8c 100644
--- a/init/main.c
+++ b/init/main.c
@@ -29,6 +29,7 @@
29#include <linux/percpu.h> 29#include <linux/percpu.h>
30#include <linux/kmod.h> 30#include <linux/kmod.h>
31#include <linux/kernel_stat.h> 31#include <linux/kernel_stat.h>
32#include <linux/start_kernel.h>
32#include <linux/security.h> 33#include <linux/security.h>
33#include <linux/workqueue.h> 34#include <linux/workqueue.h>
34#include <linux/profile.h> 35#include <linux/profile.h>
@@ -73,6 +74,10 @@
73#error Sorry, your GCC is too old. It builds incorrect kernels. 74#error Sorry, your GCC is too old. It builds incorrect kernels.
74#endif 75#endif
75 76
77#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0
78#warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended.
79#endif
80
76static int init(void *); 81static int init(void *);
77 82
78extern void init_IRQ(void); 83extern void init_IRQ(void);