diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-08-03 02:23:06 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-08-03 02:23:06 +0000 |
commit | 6f2afa324d1065b683deec76bffd5785ba2d4989 (patch) | |
tree | ecab1eab8d4a6ebfbf396cb5ab2e5d6c501e078f /sys/kern/kern_kse.c | |
parent | 4b4df6655a6958a27b64cae8ba605a069de6592f (diff) | |
download | FreeBSD-src-6f2afa324d1065b683deec76bffd5785ba2d4989.zip FreeBSD-src-6f2afa324d1065b683deec76bffd5785ba2d4989.tar.gz |
s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/g
Dicussed with: deischen
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r-- | sys/kern/kern_kse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index ab6ac29..9555687 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -161,7 +161,7 @@ kse_switchin(struct thread *td, struct kse_switchin_args *uap) ptrace_single_step(td); else ptrace_clear_single_step(td); - if (tmbx.tm_dflags & TMDF_DONOTRUNUSER) { + if (tmbx.tm_dflags & TMDF_SUSPEND) { mtx_lock_spin(&sched_lock); /* fuword can block, check again */ if (td->td_upcall) @@ -1159,7 +1159,7 @@ thread_user_enter(struct proc *p, struct thread *td) mtx_unlock_spin(&sched_lock); if (__predict_false(p->p_flag & P_TRACED)) { flags = fuword32(&tmbx->tm_dflags); - if (flags & TMDF_DONOTRUNUSER) { + if (flags & TMDF_SUSPEND) { mtx_lock_spin(&sched_lock); /* fuword can block, check again */ if (td->td_upcall) |