Skip to content

Commit 59c9eda

Browse files
covanamIngo Molnar
authored andcommitted
hrtimers: Rename debug_init_on_stack() to debug_setup_on_stack()
All the hrtimer_init*() functions have been renamed to hrtimer_setup*(). Rename debug_init_on_stack() to debug_setup_on_stack() as well, to keep the names consistent. Signed-off-by: Nam Cao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/all/073cf6162779a2f5b12624677d4c49ee7eccc1ed.1738746927.git.namcao@linutronix.de
1 parent e9ef209 commit 59c9eda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kernel/time/hrtimer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, enum hr
471471
trace_hrtimer_init(timer, clockid, mode);
472472
}
473473

474-
static inline void debug_init_on_stack(struct hrtimer *timer, clockid_t clockid,
475-
enum hrtimer_mode mode)
474+
static inline void debug_setup_on_stack(struct hrtimer *timer, clockid_t clockid,
475+
enum hrtimer_mode mode)
476476
{
477477
debug_hrtimer_init_on_stack(timer);
478478
trace_hrtimer_init(timer, clockid, mode);
@@ -1665,7 +1665,7 @@ void hrtimer_setup_on_stack(struct hrtimer *timer,
16651665
enum hrtimer_restart (*function)(struct hrtimer *),
16661666
clockid_t clock_id, enum hrtimer_mode mode)
16671667
{
1668-
debug_init_on_stack(timer, clock_id, mode);
1668+
debug_setup_on_stack(timer, clock_id, mode);
16691669
__hrtimer_setup(timer, function, clock_id, mode);
16701670
}
16711671
EXPORT_SYMBOL_GPL(hrtimer_setup_on_stack);
@@ -2064,7 +2064,7 @@ static void __hrtimer_setup_sleeper(struct hrtimer_sleeper *sl,
20642064
void hrtimer_setup_sleeper_on_stack(struct hrtimer_sleeper *sl,
20652065
clockid_t clock_id, enum hrtimer_mode mode)
20662066
{
2067-
debug_init_on_stack(&sl->timer, clock_id, mode);
2067+
debug_setup_on_stack(&sl->timer, clock_id, mode);
20682068
__hrtimer_setup_sleeper(sl, clock_id, mode);
20692069
}
20702070
EXPORT_SYMBOL_GPL(hrtimer_setup_sleeper_on_stack);

0 commit comments

Comments
 (0)