]> err.no Git - linux-2.6/commitdiff
[MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 22 Jul 2007 15:07:34 +0000 (00:07 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Jul 2007 15:02:48 +0000 (16:02 +0100)
__INIT directive just before kernel_entry was ignored for most platforms.
This patch fixes it and get rid of this warning:

WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/head.S

index f78538eceef77c903bf393b20256ce7b2a5552a7..c15bbc436bbd89a27fb64c65645fb6e4c847ccdb 100644 (file)
 EXPORT(stext)                                  # used for profiling
 EXPORT(_stext)
 
-#ifdef CONFIG_BOOT_RAW
+#ifndef CONFIG_BOOT_RAW
        /*
         * Give us a fighting chance of running if execution beings at the
         * kernel load address.  This is needed because this platform does