diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index 985c9ed86050..1174ae3aec8c 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -74,6 +74,10 @@ | |||
74 | #error Sorry, your GCC is too old. It builds incorrect kernels. | 74 | #error Sorry, your GCC is too old. It builds incorrect kernels. |
75 | #endif | 75 | #endif |
76 | 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 | |||
77 | static int init(void *); | 81 | static int init(void *); |
78 | 82 | ||
79 | extern void init_IRQ(void); | 83 | extern void init_IRQ(void); |