Skip to content

Commit b9a40f2

Browse files
bulwahnKAGA-KOKO
authored andcommitted
posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS
Commit c78f261 ("posix-timers: Clarify posix_timer_fn() comments") turns an ifdef CONFIG_HIGH_RES_TIMERS into an conditional on "IS_ENABLED(CONFIG_HIGHRES_TIMERS)"; note that the new conditional refers to "HIGHRES_TIMERS" not "HIGH_RES_TIMERS" as before. Fix this typo introduced in that refactoring. Fixes: c78f261 ("posix-timers: Clarify posix_timer_fn() comments") Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230609094643.26253-1-lukas.bulwahn@gmail.com
1 parent b96ce49 commit b9a40f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/posix-timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
356356
* enabled as the periodic tick based timers are
357357
* automatically aligned to the next tick.
358358
*/
359-
if (IS_ENABLED(CONFIG_HIGHRES_TIMERS)) {
359+
if (IS_ENABLED(CONFIG_HIGH_RES_TIMERS)) {
360360
ktime_t kj = TICK_NSEC;
361361

362362
if (timr->it_interval < kj)

0 commit comments

Comments
 (0)