mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
Temporary hack for Qemu and MIPSsim until they get a proper ELF loader.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
c0ec406c80
commit
b490ff4270
@ -131,6 +131,14 @@
|
|||||||
EXPORT(stext) # used for profiling
|
EXPORT(stext) # used for profiling
|
||||||
EXPORT(_stext)
|
EXPORT(_stext)
|
||||||
|
|
||||||
|
#ifdef CONFIG_QEMU
|
||||||
|
/*
|
||||||
|
* Give us a fighting chance of running if execution beings at the
|
||||||
|
* kernel load address. This is needed because this platform does
|
||||||
|
* not have a ELF loader yet.
|
||||||
|
*/
|
||||||
|
j kernel_entry
|
||||||
|
#endif
|
||||||
__INIT
|
__INIT
|
||||||
|
|
||||||
NESTED(kernel_entry, 16, sp) # kernel entry point
|
NESTED(kernel_entry, 16, sp) # kernel entry point
|
||||||
@ -166,6 +174,10 @@ NESTED(kernel_entry, 16, sp) # kernel entry point
|
|||||||
j start_kernel
|
j start_kernel
|
||||||
END(kernel_entry)
|
END(kernel_entry)
|
||||||
|
|
||||||
|
#ifdef CONFIG_QEMU
|
||||||
|
__INIT
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
/*
|
/*
|
||||||
* SMP slave cpus entry point. Board specific code for bootstrap calls this
|
* SMP slave cpus entry point. Board specific code for bootstrap calls this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user