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

From: tip-bot2 for Ethan Nelson-Moore

Date: Wed Jun 17 2026 - 12:23:58 EST


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 <enelsonmoore@xxxxxxxxx>
AuthorDate: Mon, 08 Jun 2026 20:43:13 -07:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
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.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Link: https://patch.msgid.link/20260609034314.25029-1-enelsonmoore@xxxxxxxxx
---
kernel/time/hrtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 638ce62..313dcea 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -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