summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-10-12 18:30:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-10-12 18:30:10 +0000
commit08a4add62fa6d75b3ebe459572210d2b4b84f9df (patch)
tree14817ef85ec0c2d2a494dfde64b00cbfa77ef9cf /sys/arch/hppa
parent04f0a71606ccfd64e25eae6175b7400c99826849 (diff)
Remove all MD diagnostics in cpu_switchto(), and move them to MI code if
they apply. ok oga@ deraadt@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/locore.S8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index 67465680f37..fd008f3c99d 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.186 2011/05/05 20:50:43 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.187 2011/10/12 18:30:09 miod Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -2769,12 +2769,6 @@ Lcspstr
.asciz "cpu_switch:old=%p, new=%p"
.align 8
kstack_check
- ldw P_WCHAN(arg1), t1
- comb,<>,n r0, t1, switch_error
- nop
- ldb P_STAT(arg1), t1
- comib,<>,n SRUN, t1, switch_error
- nop
/*
* The new process' kernel stack must be reasonable.
*/