Skip to content

Commit e9ef209

Browse files
covanamIngo Molnar
authored andcommitted
hrtimers: Rename debug_init() to debug_setup()
All the hrtimer_init*() functions have been renamed to hrtimer_setup*(). Rename debug_init() to debug_setup() as well, to keep the names consistent. Signed-off-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/all/4b730c1f79648b16a1c5413f928fdc2e138dfc43.1738746927.git.namcao@linutronix.de
1 parent fcea1cc commit e9ef209

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kernel/time/hrtimer.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,7 @@ static inline void debug_hrtimer_activate(struct hrtimer *timer,
465465
static inline void debug_hrtimer_deactivate(struct hrtimer *timer) { }
466466
#endif
467467

468-
static inline void
469-
debug_init(struct hrtimer *timer, clockid_t clockid,
470-
enum hrtimer_mode mode)
468+
static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode)
471469
{
472470
debug_hrtimer_init(timer);
473471
trace_hrtimer_init(timer, clockid, mode);
@@ -1648,7 +1646,7 @@ static void __hrtimer_setup(struct hrtimer *timer,
16481646
void hrtimer_setup(struct hrtimer *timer, enum hrtimer_restart (*function)(struct hrtimer *),
16491647
clockid_t clock_id, enum hrtimer_mode mode)
16501648
{
1651-
debug_init(timer, clock_id, mode);
1649+
debug_setup(timer, clock_id, mode);
16521650
__hrtimer_setup(timer, function, clock_id, mode);
16531651
}
16541652
EXPORT_SYMBOL_GPL(hrtimer_setup);

0 commit comments

Comments
 (0)