summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-09-28 14:37:39 +0000
committercognet <cognet@FreeBSD.org>2004-09-28 14:37:39 +0000
commitd35924d4046e0b4cb3a5011c88d01b56d933b73b (patch)
treec24da86507d4873d3394b03953e6a4d70b9c3c19 /sys
parent84038e9ef8cd9e66d0f1201218e2141118dd9945 (diff)
downloadFreeBSD-src-d35924d4046e0b4cb3a5011c88d01b56d933b73b.zip
FreeBSD-src-d35924d4046e0b4cb3a5011c88d01b56d933b73b.tar.gz
Remove dead code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/locore.S4
-rw-r--r--sys/arm/arm/swtch.S3
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/arm/arm/locore.S b/sys/arm/arm/locore.S
index ada8e12..5faf545 100644
--- a/sys/arm/arm/locore.S
+++ b/sys/arm/arm/locore.S
@@ -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()! */
diff --git a/sys/arm/arm/swtch.S b/sys/arm/arm/swtch.S
index 28a3042..f34385a 100644
--- a/sys/arm/arm/swtch.S
+++ b/sys/arm/arm/swtch.S
@@ -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
OpenPOWER on IntegriCloud