Skip to content

Commit cdcc9eb

Browse files
atsushi-nemotoralfbaechle
authored andcommitted
[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>
1 parent 18d0e9b commit cdcc9eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/kernel/head.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
EXPORT(stext) # used for profiling
142142
EXPORT(_stext)
143143

144-
#ifdef CONFIG_BOOT_RAW
144+
#ifndef CONFIG_BOOT_RAW
145145
/*
146146
* Give us a fighting chance of running if execution beings at the
147147
* kernel load address. This is needed because this platform does

0 commit comments

Comments
 (0)