summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/head.S
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-07-23 00:07:34 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-07-24 16:02:48 +0100
commitcdcc9eb5e014a58aba047193a73a0de8b61b988d (patch)
tree05a43732bfed296a048763c985da6e31ee678e44 /arch/mips/kernel/head.S
parent18d0e9b4799ff6e43613a068eba289ba4e002535 (diff)
downloadtalos-obmc-linux-cdcc9eb5e014a58aba047193a73a0de8b61b988d.tar.gz
talos-obmc-linux-cdcc9eb5e014a58aba047193a73a0de8b61b988d.zip
[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 <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/head.S')
-rw-r--r--arch/mips/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
index f78538eceef7..c15bbc436bbd 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
OpenPOWER on IntegriCloud