Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

timekeeping/auxclock: Consistently use raw timekeeper for tk_setup_internals()

In aux_clock_enable() the clocksource from tkr_raw is used to call
tk_setup_internals(). Do the same in tk_aux_update_clocksource(). While
the clocksources will be the same in any case, this is less confusing.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260311-hrtimer-cleanups-v1-4-095357392669@linutronix.de

authored by

Thomas Weißschuh (Schneider Electric) and committed by
Thomas Gleixner
ba546d3d bb2705b4

+1 -1
+1 -1
kernel/time/timekeeping.c
··· 2985 2985 continue; 2986 2986 2987 2987 timekeeping_forward_now(tks); 2988 - tk_setup_internals(tks, tk_core.timekeeper.tkr_mono.clock); 2988 + tk_setup_internals(tks, tk_core.timekeeper.tkr_raw.clock); 2989 2989 timekeeping_update_from_shadow(tkd, TK_UPDATE_ALL); 2990 2990 } 2991 2991 }