diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-07-13 15:39:48 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-08-10 17:57:22 +0200 |
commit | 8c3b5e6ec0fee18bc2ce38d1dfe913413205f908 (patch) | |
tree | 6318bc9ca46901239a6818d50f78e189543e70e7 /kernel/time/tick-internal.h | |
parent | b14bca97c9f5c3e3f133445b01c723e95490d843 (diff) | |
download | linux-8c3b5e6ec0fee18bc2ce38d1dfe913413205f908.tar.gz |
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
Diffstat (limited to 'kernel/time/tick-internal.h')
-rw-r--r-- | kernel/time/tick-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h index 6a742a29e545f..cd610faa25235 100644 --- a/kernel/time/tick-internal.h +++ b/kernel/time/tick-internal.h @@ -165,3 +165,6 @@ DECLARE_PER_CPU(struct hrtimer_cpu_base, hrtimer_bases); extern u64 get_next_timer_interrupt(unsigned long basej, u64 basem); void timer_clear_idle(void); + +void clock_was_set(void); +void clock_was_set_delayed(void); |