summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-02-25 05:14:18 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-02-25 05:14:18 +0000
commit768298d8c412178f5bb890bb3ac9dc10a89d0235 (patch)
tree29275739bcbff210ea410e374d474706b1324abd /sys/kern/kern_clock.c
parent17661e5ac4fc6ac0e3c01fb1cfc22a79c9060a81 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 460d26fd9ebf..150b15982b99 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -444,8 +444,7 @@ profclock(frame)
* bother trying to count it.
*/
td = curthread;
- if ((td->td_proc->p_sflag & PS_PROFIL) &&
- !(td->td_flags & TDF_UPCALLING))
+ if (td->td_proc->p_sflag & PS_PROFIL)
addupc_intr(td, CLKF_PC(frame), 1);
}
#ifdef GPROF