From: Coywolf Qi Hunt Date: Sat, 14 Jan 2006 21:21:11 +0000 (-0800) Subject: [PATCH] abandon gcc 295x main.c tidy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 --- 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.