diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-06-12 17:21:26 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-12 17:29:07 +0200 |
commit | c6503be587e9c5c0aac4e2b45de982352f676a5b (patch) | |
tree | acea8512d9baf40b3820c00209bccbebd1ea9a22 /drivers/clocksource | |
parent | alarmtimer: Switch over to generic set/get/rearm routine (diff) | |
download | linux-c6503be587e9c5c0aac4e2b45de982352f676a5b.tar.xz linux-c6503be587e9c5c0aac4e2b45de982352f676a5b.zip |
posix-timers: Fix inverted SIGEV_NONE logic in common_timer_get()
The refactoring of the posix-timer core to allow better code sharing
introduced inverted logic vs. SIGEV_NONE timers in common_timer_get().
That causes hrtimer_forward() to be called on active timers, which
rightfully triggers the warning hrtimer_forward().
Make sig_none what it says: signal mode == SIGEV_NONE.
Fixes: 91d57bae0868 ("posix-timers: Make use of forward/remaining callbacks")
Reported-by: Ye Xiaolong <xiaolong.ye@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/20170609104457.GA39907@inn.lkp.intel.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions