mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
futex: 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 site 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/d92116a17313dee283ebc959869bea80fbf94cdb.1730386209.git.namcao@linutronix.de
This commit is contained in:
parent
28e70352b8
commit
9788c1f0ff
@ -140,8 +140,8 @@ futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout,
|
||||
if (!time)
|
||||
return NULL;
|
||||
|
||||
hrtimer_init_sleeper_on_stack(timeout, (flags & FLAGS_CLOCKRT) ?
|
||||
CLOCK_REALTIME : CLOCK_MONOTONIC,
|
||||
hrtimer_setup_sleeper_on_stack(timeout,
|
||||
(flags & FLAGS_CLOCKRT) ? CLOCK_REALTIME : CLOCK_MONOTONIC,
|
||||
HRTIMER_MODE_ABS);
|
||||
/*
|
||||
* If range_ns is 0, calling hrtimer_set_expires_range_ns() is
|
||||
|
Loading…
Reference in New Issue
Block a user