diff options
author | Coywolf Qi Hunt <qiyong@fc-cn.com> | 2006-01-14 16:21:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 21:27:12 -0500 |
commit | 69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b (patch) | |
tree | 9ea1f247f27f391e0867ed4e2e2c01bc2488b54a /init | |
parent | 3135806358e8d3d8ac61a13f58f148d0a98a7b9b (diff) |
[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>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/init/main.c b/init/main.c index e092b1979a90..7c79da57d3a2 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -54,20 +54,18 @@ | |||
54 | #include <asm/sections.h> | 54 | #include <asm/sections.h> |
55 | #include <asm/cacheflush.h> | 55 | #include <asm/cacheflush.h> |
56 | 56 | ||
57 | /* | ||
58 | * This is one of the first .c files built. Error out early | ||
59 | * if we have compiler trouble.. | ||
60 | */ | ||
61 | |||
62 | #ifdef CONFIG_X86_LOCAL_APIC | 57 | #ifdef CONFIG_X86_LOCAL_APIC |
63 | #include <asm/smp.h> | 58 | #include <asm/smp.h> |
64 | #endif | 59 | #endif |
65 | 60 | ||
66 | /* | 61 | /* |
67 | * Versions of gcc older than that listed below may actually compile | 62 | * This is one of the first .c files built. Error out early if we have compiler |
68 | * and link okay, but the end product can have subtle run time bugs. | 63 | * trouble. |
69 | * To avoid associated bogus bug reports, we flatly refuse to compile | 64 | * |
70 | * with a gcc that is known to be too old from the very beginning. | 65 | * Versions of gcc older than that listed below may actually compile and link |
66 | * okay, but the end product can have subtle run time bugs. To avoid associated | ||
67 | * bogus bug reports, we flatly refuse to compile with a gcc that is known to be | ||
68 | * too old from the very beginning. | ||
71 | */ | 69 | */ |
72 | #if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2) | 70 | #if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2) |
73 | #error Sorry, your GCC is too old. It builds incorrect kernels. | 71 | #error Sorry, your GCC is too old. It builds incorrect kernels. |