Skip to content

Commit 0a26e5e

Browse files
bjorn-helgaasKAGA-KOKO
authored andcommitted
jiffies: Remove obsolete SHIFTED_HZ comment
b3c869d ("jiffies: Remove compile time assumptions about CLOCK_TICK_RATE") removed the last definition of SHIFTED_HZ but left behind comments about it. Remove the comments as well. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250825203425.796034-1-helgaas@kernel.org
1 parent b320789 commit 0a26e5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/jiffies.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
extern void register_refined_jiffies(long clock_tick_rate);
6363

64-
/* TICK_USEC is the time between ticks in usec assuming SHIFTED_HZ */
64+
/* TICK_USEC is the time between ticks in usec */
6565
#define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
6666

6767
/* USER_TICK_USEC is the time between ticks in usec assuming fake USER_HZ */

include/vdso/jiffies.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <asm/param.h> /* for HZ */
66
#include <vdso/time64.h>
77

8-
/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
8+
/* TICK_NSEC is the time between ticks in nsec */
99
#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
1010

1111
#endif /* __VDSO_JIFFIES_H */

0 commit comments

Comments
 (0)