Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wait: 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.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/fc91182375df81120a88dbe0263267e24d1bf19e.1730386209.git.namcao@linutronix.de

authored by

Nam Cao and committed by
Thomas Gleixner
211647e5 8fae1411

+2 -2
+2 -2
include/linux/wait.h
··· 541 541 int __ret = 0; \ 542 542 struct hrtimer_sleeper __t; \ 543 543 \ 544 - hrtimer_init_sleeper_on_stack(&__t, CLOCK_MONOTONIC, \ 545 - HRTIMER_MODE_REL); \ 544 + hrtimer_setup_sleeper_on_stack(&__t, CLOCK_MONOTONIC, \ 545 + HRTIMER_MODE_REL); \ 546 546 if ((timeout) != KTIME_MAX) { \ 547 547 hrtimer_set_expires_range_ns(&__t.timer, timeout, \ 548 548 current->timer_slack_ns); \