posix-cpu-timers: Use clock ID in posix_cpu_timer_rearm()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:08:58 +0000 (21:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:29 +0000 (11:50 +0200)
commitda020ce406b2a9b714b82de9123a4c5a4848647b
tree80a92ad457818f4897675777f9b016a6332cb8f5
parent99093c5b81f58815fbfc1fe301c87206c6f5f730
posix-cpu-timers: Use clock ID in posix_cpu_timer_rearm()

Extract the clock ID (PROF/VIRT/SCHED) from the clock selector and use it
as argument to the sample functions. That allows to simplify them once all
callers are fixed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192920.245357769@linutronix.de
kernel/time/posix-cpu-timers.c