mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
[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>
This commit is contained in:
parent
18d0e9b479
commit
cdcc9eb5e0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user