Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11140
b: refs/heads/master
c: b490ff4
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 7d100e3 commit e51ea1e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0ec406c80a65590dbdb60ed0d0c8e73e6c3884f
refs/heads/master: b490ff42709546d5cf6b631c1a84a5f4fcb020e4
12 changes: 12 additions & 0 deletions trunk/arch/mips/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@
EXPORT(stext) # used for profiling
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

NESTED(kernel_entry, 16, sp) # kernel entry point
Expand Down Expand Up @@ -166,6 +174,10 @@ NESTED(kernel_entry, 16, sp) # kernel entry point
j start_kernel
END(kernel_entry)

#ifdef CONFIG_QEMU
__INIT
#endif

#ifdef CONFIG_SMP
/*
* SMP slave cpus entry point. Board specific code for bootstrap calls this
Expand Down

0 comments on commit e51ea1e

Please sign in to comment.