diff options
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index e3466a9..d17cbe2 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -2019,7 +2019,7 @@ ptracestop(struct thread *td, int sig) thread_suspend_one(td); PROC_UNLOCK(p); DROP_GIANT(); - mi_switch(SW_INVOL); + mi_switch(SW_INVOL, NULL); mtx_unlock_spin(&sched_lock); PICKUP_GIANT(); } @@ -2168,7 +2168,7 @@ issignal(td) thread_suspend_one(td); PROC_UNLOCK(p); DROP_GIANT(); - mi_switch(SW_INVOL); + mi_switch(SW_INVOL, NULL); mtx_unlock_spin(&sched_lock); PICKUP_GIANT(); PROC_LOCK(p); |