On Mon, May 19, 2025 at 1:33 AM Thomas Gleixner [off-list ref] wrote:
From: Anna-Maria Behnsen <anna-maria@linutronix.de>
In __timekeeping_advance() the pointer to struct tk_data is hardcoded by the
use of &tk_core. As long as there is only a single timekeeper (tk_core),
this is not a problem. But when __timekeeping_advance() will be reused for
per auxiliary timekeepers, __timekeeping_advance() needs to be generalized.
Add a pointer to struct tk_data as function argument of
__timekeeping_advance() and adapt all call sites.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <redacted>
Acked-by: John Stultz <jstultz@google.com>
thanks
-john