diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2002-09-11 08:13:56 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2002-09-11 08:13:56 +0000 |
| commit | 71fad9fdeefd5d874768802125f98ea6450cfa5c (patch) | |
| tree | 10514ece7d621a24c034e4c778c793b9ea2d9675 /sys/fs/procfs/procfs_ioctl.c | |
| parent | 527eee2d404ad5415be0b17e0403d29f3ea924c3 (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_ioctl.c')
| -rw-r--r-- | sys/fs/procfs/procfs_ioctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_ioctl.c b/sys/fs/procfs/procfs_ioctl.c index 1dd0b6d16bbb..170a810c10c9 100644 --- a/sys/fs/procfs/procfs_ioctl.c +++ b/sys/fs/procfs/procfs_ioctl.c @@ -97,8 +97,7 @@ procfs_ioctl(PFS_IOCTL_ARGS) if (P_SHOULDSTOP(p)) { p->p_xstat = sig; p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SIG); - FOREACH_THREAD_IN_PROC(p, td) - setrunnable(td); /* XXX Totally bogus */ + thread_unsuspend(p); mtx_unlock_spin(&sched_lock); } else { mtx_unlock_spin(&sched_lock); |
