mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
hrtimer: Remove hrtimer_clock_base:: Get_time
The get_time() callbacks always need to match the bases clockid. Instead of maintaining that association twice in hrtimer_bases, use a helper. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20250821-hrtimer-cleanup-get_time-v2-8-3ae822e5bfbd@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
cdea7cdae2
commit
009eb5da29
@@ -56,8 +56,6 @@ def print_base(base):
|
||||
text += " .index: {}\n".format(base['index'])
|
||||
|
||||
text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
|
||||
|
||||
text += " .get_time: {}\n".format(base['get_time'])
|
||||
if constants.LX_CONFIG_HIGH_RES_TIMERS:
|
||||
text += " .offset: {} nsecs\n".format(base['offset'])
|
||||
text += "active timers:\n"
|
||||
|
||||
Reference in New Issue
Block a user