]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hrtimer: Correct CONFIG_NO_HZ_COMMON macro name in comment
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Tue, 9 Jun 2026 03:43:13 +0000 (20:43 -0700)
committerThomas Gleixner <tglx@kernel.org>
Wed, 17 Jun 2026 15:59:45 +0000 (17:59 +0200)
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@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260609034314.25029-1-enelsonmoore@gmail.com
kernel/time/hrtimer.c

index 638ce623c342f0cfe003a556df062cb62474efc8..313dcea127fe489d2610893b9a6c6a876ad868b0 100644 (file)
@@ -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