hrtimer: Ensure timerfd notification for HIGHRES=n
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Jul 2021 13:39:48 +0000 (15:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 15:57:22 +0000 (17:57 +0200)
commit8c3b5e6ec0fee18bc2ce38d1dfe913413205f908
tree6318bc9ca46901239a6818d50f78e189543e70e7
parentb14bca97c9f5c3e3f133445b01c723e95490d843
hrtimer: Ensure timerfd notification for HIGHRES=n

If high resolution timers are disabled the timerfd notification about a
clock was set event is not happening for all cases which use
clock_was_set_delayed() because that's a NOP for HIGHRES=n, which is wrong.

Make clock_was_set_delayed() unconditially available to fix that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210713135158.196661266@linutronix.de
include/linux/hrtimer.h
kernel/time/hrtimer.c
kernel/time/tick-internal.h