From 69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b Mon Sep 17 00:00:00 2001 From: Coywolf Qi Hunt Date: Sat, 14 Jan 2006 13:21:11 -0800 Subject: [PATCH] [PATCH] abandon gcc 295x main.c tidy After abandon-gcc-295x.patch, this relocates the error-out-early comment. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- init/main.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/init/main.c b/init/main.c index e092b1979a9..7c79da57d3a 100644 --- a/init/main.c +++ b/init/main.c @@ -54,20 +54,18 @@ #include #include -/* - * This is one of the first .c files built. Error out early - * if we have compiler trouble.. - */ - #ifdef CONFIG_X86_LOCAL_APIC #include #endif /* - * Versions of gcc older than that listed below may actually compile - * and link okay, but the end product can have subtle run time bugs. - * To avoid associated bogus bug reports, we flatly refuse to compile - * with a gcc that is known to be too old from the very beginning. + * This is one of the first .c files built. Error out early if we have compiler + * trouble. + * + * Versions of gcc older than that listed below may actually compile and link + * okay, but the end product can have subtle run time bugs. To avoid associated + * bogus bug reports, we flatly refuse to compile with a gcc that is known to be + * too old from the very beginning. */ #if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2) #error Sorry, your GCC is too old. It builds incorrect kernels. -- 2.20.1