summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-07-28 19:08:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-07-28 19:08:47 +0000
commit44a8e90860ab336967b107f0c5fce8f79e7f7dd1 (patch)
tree85c60928f912b555ca77bb6f18b5ba569c5673da /sys/arch/i386
parent289d6328f9ae7d9c93a8966d961042db962ad948 (diff)
No longer clear ci_want_resched within cpu_switchto(), now that it's done
in the MI code.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/locore.s7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index 17e25ddc685..a3acaa09e56 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.123 2008/06/09 20:43:43 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.124 2008/07/28 19:08:46 miod Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -1302,11 +1302,8 @@ ENTRY(cpu_switchto)
movl 16(%esp), %esi
movl 20(%esp), %edi
- xorl %eax, %eax
-
- movl %eax, CPUVAR(RESCHED)
-
#ifdef DIAGNOSTIC
+ xorl %eax, %eax
cmpl %eax,P_WCHAN(%edi) # Waiting for something?
jne _C_LABEL(switch_error1) # Yes; shouldn't be queued.
cmpb $SRUN,P_STAT(%edi) # In run state?