diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-16 10:07:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-16 10:07:37 -0700 |
commit | 63f7a330014ad29b662638caabd8e96fe945b9ed (patch) | |
tree | 4a866e63fee62d3f36ca430bbdd5adf5bb75e82b | |
parent | a132ebcb454568cc06fbdf3a5629eb9d64c9d578 (diff) | |
parent | f9f868dbcca961ed62f1df1d114abd0c38c47dce (diff) | |
download | op-kernel-dev-63f7a330014ad29b662638caabd8e96fe945b9ed.zip op-kernel-dev-63f7a330014ad29b662638caabd8e96fe945b9ed.tar.gz |
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
timer stats: fix quick check optimization
-rw-r--r-- | include/linux/hrtimer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 54648e6..4759917 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -448,7 +448,7 @@ extern void timer_stats_update_stats(void *timer, pid_t pid, void *startf, static inline void timer_stats_account_hrtimer(struct hrtimer *timer) { - if (likely(!timer->start_pid)) + if (likely(!timer->start_site)) return; timer_stats_update_stats(timer, timer->start_pid, timer->start_site, timer->function, timer->start_comm, 0); |