Remove dead code.
This commit is contained in:
parent
d6ec7d8c05
commit
e462e1ba03
@ -162,10 +162,6 @@ mmu_done:
|
||||
|
||||
/* init arm will return the new stack pointer. */
|
||||
mov sp, r0
|
||||
mov fp, #0x00000000 /* trace back starts here */
|
||||
mov ip, sp
|
||||
stmfd sp!, {fp, ip, lr, pc}
|
||||
sub fp, ip, #4
|
||||
|
||||
bl _C_LABEL(mi_startup) /* call mi_startup()! */
|
||||
|
||||
|
@ -133,8 +133,6 @@ ENTRY(cpu_throw)
|
||||
ldr r0, .Lcurthread
|
||||
mov r5, r1
|
||||
|
||||
mov r6, r2
|
||||
|
||||
/*
|
||||
* r4 = lwp
|
||||
* r5 = lwp0
|
||||
@ -347,7 +345,6 @@ ENTRY(cpu_switch)
|
||||
ldr r1, [r9, #(PCB_DACR)] /* r1 = new DACR */
|
||||
|
||||
teq r10, r11 /* Same L1? */
|
||||
ldr r5, [r5]
|
||||
cmpeq r0, r1 /* Same DACR? */
|
||||
beq .Lcs_context_switched /* yes! */
|
||||
ldr r3, .Lblock_userspace_access
|
||||
|
Loading…
Reference in New Issue
Block a user