|
@@ -95,13 +95,14 @@ ENTRY(stext)
|
|
|
* above. On return, the CPU will be ready for the MMU to be
|
|
|
* turned on, and r0 will hold the CPU control register value.
|
|
|
*/
|
|
|
- ldr r13, __switch_data @ address to jump to after
|
|
|
+ ldr r13, =__mmap_switched @ address to jump to after
|
|
|
@ mmu has been enabled
|
|
|
adr lr, BSYM(__enable_mmu) @ return (PIC) address
|
|
|
ARM( add pc, r10, #PROCINFO_INITFUNC )
|
|
|
THUMB( add r12, r10, #PROCINFO_INITFUNC )
|
|
|
THUMB( mov pc, r12 )
|
|
|
ENDPROC(stext)
|
|
|
+ .ltorg
|
|
|
|
|
|
#if defined(CONFIG_SMP)
|
|
|
ENTRY(secondary_startup)
|