diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2025-05-19 10:33:19 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-06-19 14:28:22 +0200 |
commit | f12b45862c4dcb9c2937b83ed730e473b9a76cbf (patch) | |
tree | dc98d49d811b0abf36e864640712307f0de41fdf /kernel/fail_function.c | |
parent | 7e55b6ba1fe6987638160e5f8216288f38043759 (diff) |
timekeeping: Introduce timekeeper ID
As long as there is only a single timekeeper, there is no need to clarify
which timekeeper is used. But with the upcoming reusage of the timekeeper
infrastructure for auxiliary clock timekeepers, an ID is required to
differentiate.
Introduce an enum for timekeeper IDs, introduce a field in struct tk_data
to store this timekeeper id and add also initialization. The id struct
field is added at the end of the second cachline, as there is a 4 byte hole
anyway.
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/20250519083025.842476378@linutronix.de
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions