diff options
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/head.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S index 6f57ca44291f..1f096aa35bc0 100644 --- a/arch/mips/kernel/head.S +++ b/arch/mips/kernel/head.S | |||
@@ -138,15 +138,14 @@ | |||
138 | EXPORT(stext) # used for profiling | 138 | EXPORT(stext) # used for profiling |
139 | EXPORT(_stext) | 139 | EXPORT(_stext) |
140 | 140 | ||
141 | #ifdef CONFIG_MIPS_SIM | 141 | #ifndef CONFIG_MIPS_SIM |
142 | /* | 142 | /* |
143 | * Give us a fighting chance of running if execution beings at the | 143 | * Give us a fighting chance of running if execution beings at the |
144 | * kernel load address. This is needed because this platform does | 144 | * kernel load address. This is needed because this platform does |
145 | * not have a ELF loader yet. | 145 | * not have a ELF loader yet. |
146 | */ | 146 | */ |
147 | j kernel_entry | ||
148 | #endif | ||
149 | __INIT | 147 | __INIT |
148 | #endif | ||
150 | 149 | ||
151 | NESTED(kernel_entry, 16, sp) # kernel entry point | 150 | NESTED(kernel_entry, 16, sp) # kernel entry point |
152 | 151 | ||
@@ -197,9 +196,7 @@ NESTED(kernel_entry, 16, sp) # kernel entry point | |||
197 | j start_kernel | 196 | j start_kernel |
198 | END(kernel_entry) | 197 | END(kernel_entry) |
199 | 198 | ||
200 | #ifdef CONFIG_QEMU | ||
201 | __INIT | 199 | __INIT |
202 | #endif | ||
203 | 200 | ||
204 | #ifdef CONFIG_SMP | 201 | #ifdef CONFIG_SMP |
205 | /* | 202 | /* |