Commit cdcc9eb5 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle

[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: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 18d0e9b4
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
EXPORT(stext) # used for profiling EXPORT(stext) # used for profiling
EXPORT(_stext) EXPORT(_stext)
#ifdef CONFIG_BOOT_RAW #ifndef CONFIG_BOOT_RAW
/* /*
* Give us a fighting chance of running if execution beings at the * Give us a fighting chance of running if execution beings at the
* kernel load address. This is needed because this platform does * kernel load address. This is needed because this platform does
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment