mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
[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 <qiyong@fc-cn.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3135806358
commit
69c99ac17e
16
init/main.c
16
init/main.c
@ -54,20 +54,18 @@
|
|||||||
#include <asm/sections.h>
|
#include <asm/sections.h>
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* This is one of the first .c files built. Error out early
|
|
||||||
* if we have compiler trouble..
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef CONFIG_X86_LOCAL_APIC
|
#ifdef CONFIG_X86_LOCAL_APIC
|
||||||
#include <asm/smp.h>
|
#include <asm/smp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Versions of gcc older than that listed below may actually compile
|
* This is one of the first .c files built. Error out early if we have compiler
|
||||||
* and link okay, but the end product can have subtle run time bugs.
|
* trouble.
|
||||||
* 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.
|
* 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)
|
#if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2)
|
||||||
#error Sorry, your GCC is too old. It builds incorrect kernels.
|
#error Sorry, your GCC is too old. It builds incorrect kernels.
|
||||||
|
Loading…
Reference in New Issue
Block a user