diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2025-05-19 10:33:25 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-06-19 14:28:23 +0200 |
commit | 926ad475169f5b24868438e4bff61ec6a73efd19 (patch) | |
tree | 15e9e64bcb1edc7b81aa68c254c0dc7d35e90396 /kernel/stacktrace.c | |
parent | c7ebfbc440151ae4a66a03b0f879cbece45174c8 (diff) |
timekeeping: Make __timekeeping_advance() reusable
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 <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20250519083026.160967312@linutronix.de
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions