Skip to content

Commit

Permalink
[MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 24, 2007
1 parent 18d0e9b commit cdcc9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdcc9eb

Please sign in to comment.