summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/hp300
parent540134be3d8416715cf08a645707167332c896bf (diff)
Do not splhigh() before invoking sched_exit(), sched_exit() will do it better.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/vm_machdep.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c
index abc6af74605..eba6f968d8e 100644
--- a/sys/arch/hp300/hp300/vm_machdep.c
+++ b/sys/arch/hp300/hp300/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.44 2007/10/10 15:53:51 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.45 2007/10/13 07:17:59 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.60 2001/07/06 05:53:35 chs Exp $ */
/*
@@ -126,15 +126,12 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
/*
* cpu_exit is called as the last action during exit.
*
- * Block context switches and then call switch_exit() which will
- * switch to another process thus we never return.
+ * Call switch_exit() which will switch to another process thus we never return.
*/
void
cpu_exit(p)
struct proc *p;
{
- (void)splhigh();
-
pmap_deactivate(p);
sched_exit(p);
}