Commit 990518eb authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

timekeeping: Remove hardcoded access to tk_core



This was overlooked in the initial conversion. Use the provided pointer to
access the shadow timekeeper.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarJohn Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20250519083025.652611452@linutronix.de
parent 19272b37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ static void timekeeping_restore_shadow(struct tk_data *tkd)

static void timekeeping_update_from_shadow(struct tk_data *tkd, unsigned int action)
{
	struct timekeeper *tk = &tk_core.shadow_timekeeper;
	struct timekeeper *tk = &tkd->shadow_timekeeper;

	lockdep_assert_held(&tkd->lock);