hrtimer: Consolidate reprogramming code
authorPeter Zijlstra <peterz@infradead.org>
Tue, 13 Jul 2021 13:39:47 +0000 (15:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 15:57:22 +0000 (17:57 +0200)
commitb14bca97c9f5c3e3f133445b01c723e95490d843
tree12f583237119a217031786069a043fa721255924
parent627ef5ae2df8eeccb20d5af0e4cfa4df9e61ed28
hrtimer: Consolidate reprogramming code

This code is mostly duplicated. The redudant store in the force reprogram
case does no harm and the in hrtimer interrupt condition cannot be true for
the force reprogram invocations.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210713135158.054424875@linutronix.de
kernel/time/hrtimer.c