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.

timers: Rename next_expiry_recalc() to be unique

next_expiry_recalc is the name of a function as well as the name of a
struct member of struct timer_base. This might lead to confusion.

Rename next_expiry_recalc() to timer_recalc_next_expiry(). No functional
change.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/all/20240904-devel-anna-maria-b4-timers-flseep-v1-1-e98760256370@linutronix.de

authored by

Anna-Maria Behnsen and committed by
Thomas Gleixner
fe90c5ba d7b01b81

+3 -3
+3 -3
kernel/time/timer.c
··· 1900 1900 * 1901 1901 * Store next expiry time in base->next_expiry. 1902 1902 */ 1903 - static void next_expiry_recalc(struct timer_base *base) 1903 + static void timer_recalc_next_expiry(struct timer_base *base) 1904 1904 { 1905 1905 unsigned long clk, next, adj; 1906 1906 unsigned lvl, offset = 0; ··· 2009 2009 unsigned long basej) 2010 2010 { 2011 2011 if (base->next_expiry_recalc) 2012 - next_expiry_recalc(base); 2012 + timer_recalc_next_expiry(base); 2013 2013 2014 2014 /* 2015 2015 * Move next_expiry for the empty base into the future to prevent an ··· 2413 2413 * jiffies to avoid endless requeuing to current jiffies. 2414 2414 */ 2415 2415 base->clk++; 2416 - next_expiry_recalc(base); 2416 + timer_recalc_next_expiry(base); 2417 2417 2418 2418 while (levels--) 2419 2419 expire_timers(base, heads + levels);