From 4513fb36aa05311f7c37d4d22c61740af18f6ce3 Mon Sep 17 00:00:00 2001 From: David Xu Date: Tue, 3 Aug 2004 02:23:06 +0000 Subject: s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/g Dicussed with: deischen --- sys/kern/kern_kse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_kse.c') diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index ab6ac29f493b..955568762914 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) -- cgit v1.2.3