Thread (42 messages) flat view 42 messages, 3 authors, 2025-06-14

Re: [patch V2 09/26] timekeeping: Make __timekeeping_advance() reusable

From: John Stultz <jstultz@google.com>
Date: 2025-06-13 00:23:26
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help