diff options
author | Nam Cao <namcao@linutronix.de> | 2024-10-31 16:14:27 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-11-07 02:47:06 +0100 |
commit | 8fae141107d4540a153efa0e2751a6fc12a13679 (patch) | |
tree | bcb1bc1363ec30978964d99531e6d84fdde42d90 /kernel/time/sleep_timeout.c | |
parent | eb688451dcfb7de0fef678a476096d3616228815 (diff) |
timers: Switch to use hrtimer_setup_sleeper_on_stack()
hrtimer_setup_sleeper_on_stack() replaces hrtimer_init_sleeper_on_stack()
to keep the naming convention consistent.
Convert the usage sites over to it. The conversion was done with
Coccinelle.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/299c07f0f96af8ab3a7631b47b6ca22b06b20577.1730386209.git.namcao@linutronix.de
Diffstat (limited to 'kernel/time/sleep_timeout.c')
-rw-r--r-- | kernel/time/sleep_timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/sleep_timeout.c b/kernel/time/sleep_timeout.c index 3054e5232d20..dfe939f6e4ec 100644 --- a/kernel/time/sleep_timeout.c +++ b/kernel/time/sleep_timeout.c @@ -208,7 +208,7 @@ int __sched schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, return -EINTR; } - hrtimer_init_sleeper_on_stack(&t, clock_id, mode); + hrtimer_setup_sleeper_on_stack(&t, clock_id, mode); hrtimer_set_expires_range_ns(&t.timer, *expires, delta); hrtimer_sleeper_start_expires(&t, mode); |