summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/vm_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c
index 09ce462..e004110 100644
--- a/sys/ia64/ia64/vm_machdep.c
+++ b/sys/ia64/ia64/vm_machdep.c
@@ -295,7 +295,7 @@ cpu_exit(p)
{
ia64_fpstate_drop(p);
- (void) splhigh();
+ PROC_LOCK(p);
mtx_lock_spin(&sched_lock);
mtx_unlock_flags(&Giant, MTX_NOSWITCH);
mtx_assert(&Giant, MA_NOTOWNED);
@@ -308,8 +308,8 @@ cpu_exit(p)
*/
p->p_stat = SZOMB;
- mp_fixme("assumption: p_pptr won't change at this time");
wakeup(p->p_pptr);
+ PROC_UNLOCK_NOSWITCH(p);
cnt.v_swtch++;
cpu_switch();
OpenPOWER on IntegriCloud