summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-13 07:18:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-13 07:18:03 +0000
commitc0bc3a2a6f3f3655042f182d7620c7b65d8aa5f8 (patch)
tree90d970ba8da5180ab3e545d6d8f04532c27f4446 /sys/arch/vax
parent540134be3d8416715cf08a645707167332c896bf (diff)
Do not splhigh() before invoking sched_exit(), sched_exit() will do it better.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/vm_machdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/vax/vax/vm_machdep.c b/sys/arch/vax/vax/vm_machdep.c
index 603bb17e3d3..c913238c64d 100644
--- a/sys/arch/vax/vax/vm_machdep.c
+++ b/sys/arch/vax/vax/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.35 2007/10/10 15:53:53 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.36 2007/10/13 07:18:02 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.67 2000/06/29 07:14:34 mrg Exp $ */
/*
@@ -61,9 +61,6 @@
void
cpu_exit(struct proc *p)
{
- int s;
- s = splhigh(); /* splclock(); */
-
pmap_deactivate(p);
sched_exit(p);
}