]> asedeno.scripts.mit.edu Git - linux.git/commit
posix-timers: Use timer_rearm() callback in posixtimer_rearm()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 May 2017 21:15:47 +0000 (23:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 13:40:26 +0000 (15:40 +0200)
commitf37fb0aa4f453c7c785bbcecc4991ac48c5c0e51
tree9ccf6bc401b55ac4d01e66a980491ee3f10b5d81
parent96fe3b072f134e4993f829d599eaa1e0eb5a10e5
posix-timers: Use timer_rearm() callback in posixtimer_rearm()

Use the new timer_rearm() callback to replace the conditional hardcoded
calls into the hrtimer and cpu timer code.

This allows later to bring the same logic to alarmtimers.

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