]> git.baikalelectronics.ru Git - kernel.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)
commit08f3aae8e27e75e14ccc18c77ad1e97136b1fbd6
tree9ccf6bc401b55ac4d01e66a980491ee3f10b5d81
parent076c4ffea70311b0f7094a4ac7e824ff19a6c4d1
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