Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 396a2ae0 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Fix modpost warning in raw binary builds.



  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e6d5a11d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@

EXPORT(_stext)

#ifndef CONFIG_BOOT_RAW
#ifdef 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
@@ -149,6 +149,8 @@ EXPORT(_stext)
	__INIT
#endif

	__INIT_REFOK

NESTED(kernel_entry, 16, sp)			# kernel entry point

	kernel_entry_setup			# cpu specific setup