Skip to contentSkip to conversation

hrtimer: correct CONFIG_NO_HZ_COMMON macro name in comment

PATCH Applied Ethan Nelson-Moore 2 participants 2 messages Jun 9 – Jun 17 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hrtimer: correct CONFIG_NO_HZ_COMMON macro name in comment

A comment in kernel/time/hrtimer.c incorrectly refers to CONFIG_NOHZ_COMMON instead of CONFIG_NO_HZ_COMMON. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 kernel/time/hrtimer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/hrtimer.c +1 -1
index 5bd6efe598f0..7b85bd060376 100644
@@ -799,7 +799,7 @@ static inline void hrtimer_switch_to_hres(void) { }
  *
  * This is only invoked when:
  *	- CONFIG_HIGH_RES_TIMERS is enabled.
- *	- CONFIG_NOHZ_COMMON is enabled
+ *	- CONFIG_NO_HZ_COMMON is enabled
  *
  * For the other cases this function is empty and because the call sites
  * are optimized out it vanishes as well, i.e. no need for lots of
Signature · 1 line
2.43.0
#1 lore raw

[tip: timers/urgent] hrtimer: Correct CONFIG_NO_HZ_COMMON macro name in comment

The following commit has been merged into the timers/urgent branch of tip:

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     f8aceb1adb05896d66a3abbc1b0f41b90c9179ae
Gitweb:        https://git.kernel.org/tip/f8aceb1adb05896d66a3abbc1b0f41b90c9179ae
Author:        Ethan Nelson-Moore <[email protected]>
AuthorDate:    Mon, 08 Jun 2026 20:43:13 -07:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 17 Jun 2026 17:59:45 +02:00

hrtimer: Correct CONFIG_NO_HZ_COMMON macro name in comment

A comment in kernel/time/hrtimer.c incorrectly refers to CONFIG_NOHZ_COMMON instead of CONFIG_NO_HZ_COMMON. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 kernel/time/hrtimer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/hrtimer.c +1 -1
index 638ce62..313dcea 100644
@@ -799,7 +799,7 @@ static inline void hrtimer_switch_to_hres(void) { }
  *
  * This is only invoked when:
  *	- CONFIG_HIGH_RES_TIMERS is enabled.
- *	- CONFIG_NOHZ_COMMON is enabled
+ *	- CONFIG_NO_HZ_COMMON is enabled
  *
  * For the other cases this function is empty and because the call sites
  * are optimized out it vanishes as well, i.e. no need for lots of