[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 f78538e..c15bbc4 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