posix-timers: Make use of cancel/arm callbacks
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 May 2017 21:15:53 +0000 (23:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 13:40:29 +0000 (15:40 +0200)
commiteae1c4ae275fe3e024454c012a548ee0d700f54c
tree3a61c821be2bded561e2fc17e58d545edec2eee9
parent525b8ed91671e29e187dfe02d408b11190ccf494
posix-timers: Make use of cancel/arm callbacks

Replace the hrtimer calls by calls to the new try_to_cancel()/arm() kclock
callbacks and move the hrtimer specific implementation into the
corresponding callback functions.

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/20170530211657.355396667@linutronix.de
kernel/time/posix-timers.c