@@ -2016,7 +2016,7 @@ void hrtimer_sleeper_start_expires(struct hrtimer_sleeper *sl,
20162016 * Make the enqueue delivery mode check work on RT. If the sleeper
20172017 * was initialized for hard interrupt delivery, force the mode bit.
20182018 * This is a special case for hrtimer_sleepers because
2019- * __hrtimer_init_sleeper () determines the delivery mode on RT so the
2019+ * __hrtimer_setup_sleeper () determines the delivery mode on RT so the
20202020 * fiddling with this decision is avoided at the call sites.
20212021 */
20222022 if (IS_ENABLED (CONFIG_PREEMPT_RT ) && sl -> timer .is_hard )
@@ -2026,8 +2026,8 @@ void hrtimer_sleeper_start_expires(struct hrtimer_sleeper *sl,
20262026}
20272027EXPORT_SYMBOL_GPL (hrtimer_sleeper_start_expires );
20282028
2029- static void __hrtimer_init_sleeper (struct hrtimer_sleeper * sl ,
2030- clockid_t clock_id , enum hrtimer_mode mode )
2029+ static void __hrtimer_setup_sleeper (struct hrtimer_sleeper * sl ,
2030+ clockid_t clock_id , enum hrtimer_mode mode )
20312031{
20322032 /*
20332033 * On PREEMPT_RT enabled kernels hrtimers which are not explicitly
@@ -2067,7 +2067,7 @@ void hrtimer_setup_sleeper_on_stack(struct hrtimer_sleeper *sl,
20672067 clockid_t clock_id , enum hrtimer_mode mode )
20682068{
20692069 debug_init_on_stack (& sl -> timer , clock_id , mode );
2070- __hrtimer_init_sleeper (sl , clock_id , mode );
2070+ __hrtimer_setup_sleeper (sl , clock_id , mode );
20712071}
20722072EXPORT_SYMBOL_GPL (hrtimer_setup_sleeper_on_stack );
20732073
0 commit comments