]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Fix incorrect #endif comment for BITS_PER_LONG check
authorZhan Xusheng <zhanxusheng1024@gmail.com>
Tue, 31 Mar 2026 07:48:11 +0000 (15:48 +0800)
committerThomas Gleixner <tglx@kernel.org>
Wed, 1 Apr 2026 16:48:15 +0000 (18:48 +0200)
commitc5283a1ffdd5a877120279d164e9d5761e8455af
tree2824cbf7b8a91a2008d02e4e01b2c1e3ad657f7c
parente9fb60a780fe7eae6a5d73e647208b2a7d3e3b54
hrtimer: Fix incorrect #endif comment for BITS_PER_LONG check

The #endif comment says "BITS_PER_LONG >= 64", but the corresponding #if
guard is "BITS_PER_LONG < 64".

The comment was originally correct when the block had a three-way
#if/#else/#endif structure, where the #else branch provided a 64-bit inline
version.  Commit 79bf2bb335b8 ("[PATCH] tick-management: dyntick / highres
functionality") removed the #else branch but did not update the #endif
comment, leaving it inconsistent with the remaining #if condition.

Fix the comment to match the preprocessor guard.

Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260331074811.26147-1-zhanxusheng@xiaomi.com
kernel/time/hrtimer.c