Messages in this thread Patch in this message | | | Date | Fri, 13 Jan 2006 11:51:56 +0800 | From | Coywolf Qi Hunt <> | Subject | abandon gcc 295x main.c tidy |
| |
Hello,
After abandon-gcc-295x.patch, this relocates the error-out-early comment.
Signed-off-by: Coywolf Qi Hunt <qiyong@fc-cn.com> ---
diff --git a/init/main.c b/init/main.c index e092b19..22c4ff5 100644 --- a/init/main.c +++ b/init/main.c @@ -54,15 +54,15 @@ #include <asm/sections.h> #include <asm/cacheflush.h> +#ifdef CONFIG_X86_LOCAL_APIC +#include <asm/smp.h> +#endif + /* * This is one of the first .c files built. Error out early * if we have compiler trouble.. */ -#ifdef CONFIG_X86_LOCAL_APIC -#include <asm/smp.h> -#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. -- Coywolf Qi Hunt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |