summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-08 14:35:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-08 14:35:34 +0000
commita537f28afd62dbc7ee9083a94d77af0eeaffb984 (patch)
tree06cc18e57d745951ea4a106fbb371f23c03631aa
parent0bc8c020030981830c91cc6726cdc6e5a2a3fc58 (diff)
switch_exit() must be invoked at splhigh(), or you race the clock.
-rw-r--r--sys/arch/mvme88k/mvme88k/vm_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c
index 5ccd4fd0c6a..f82e1f52076 100644
--- a/sys/arch/mvme88k/mvme88k/vm_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.57 2004/01/02 17:08:58 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.58 2004/01/08 14:35:33 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -161,7 +161,7 @@ cpu_exit(struct proc *p)
{
pmap_deactivate(p);
- (void) splimp();
+ splhigh();
uvmexp.swtch++;
switch_exit(p);