]> git.baikalelectronics.ru Git - kernel.git/commit
posix-cpu-timers: Use clock ID in posix_cpu_timer_set()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:08:56 +0000 (21:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:28 +0000 (11:50 +0200)
commitcb1dd8d7b7f69f756067adc270086b968dc23952
tree9028d97eeee7b1b07e8104dbd551bac90e94f005
parentc63be4420cadd8ed0b89058380f536be960407b8
posix-cpu-timers: Use clock ID in posix_cpu_timer_set()

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