summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
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 460d26f..150b159 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
OpenPOWER on IntegriCloud