diff options
-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 36f608a7cfba..46508300d6b9 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -73,6 +73,10 @@ | |||
73 | #error Sorry, your GCC is too old. It builds incorrect kernels. | 73 | #error Sorry, your GCC is too old. It builds incorrect kernels. |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0 | ||
77 | #warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended. | ||
78 | #endif | ||
79 | |||
76 | static int init(void *); | 80 | static int init(void *); |
77 | 81 | ||
78 | extern void init_IRQ(void); | 82 | extern void init_IRQ(void); |