From: Atsushi Nemoto Date: Sun, 22 Jul 2007 15:07:34 +0000 (+0900) Subject: [MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S X-Git-Tag: v2.6.23-rc2~291^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcc9eb5e014a58aba047193a73a0de8b61b988d;p=linux-2.6 [MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S __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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S index f78538ecee..c15bbc436b 100644 --- a/arch/mips/kernel/head.S +++ b/arch/mips/kernel/head.S @@ -141,7 +141,7 @@ 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