Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

jiffies: Remove obsolete SHIFTED_HZ comment

b3c869d35b9b ("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

authored by

Bjorn Helgaas and committed by
Thomas Gleixner
0a26e5eb b320789d

+2 -2
+1 -1
include/linux/jiffies.h
··· 61 61 62 62 extern void register_refined_jiffies(long clock_tick_rate); 63 63 64 - /* TICK_USEC is the time between ticks in usec assuming SHIFTED_HZ */ 64 + /* TICK_USEC is the time between ticks in usec */ 65 65 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ) 66 66 67 67 /* USER_TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
+1 -1
include/vdso/jiffies.h
··· 5 5 #include <asm/param.h> /* for HZ */ 6 6 #include <vdso/time64.h> 7 7 8 - /* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */ 8 + /* TICK_NSEC is the time between ticks in nsec */ 9 9 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) 10 10 11 11 #endif /* __VDSO_JIFFIES_H */