* [PATCH] jiffies: Remove obsolete SHIFTED_HZ comment
@ 2025-08-25 20:34 Bjorn Helgaas
2025-09-03 10:04 ` [tip: timers/core] " tip-bot2 for Bjorn Helgaas
2025-09-03 23:19 ` [PATCH] " John Stultz
0 siblings, 2 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2025-08-25 20:34 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Andy Lutomirski, John Stultz, linux-kernel, Bjorn Helgaas
From: Bjorn Helgaas <bhelgaas@google.com>
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>
---
include/linux/jiffies.h | 2 +-
include/vdso/jiffies.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 91b20788273d..0d1927da8055 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -61,7 +61,7 @@
extern void register_refined_jiffies(long clock_tick_rate);
-/* TICK_USEC is the time between ticks in usec assuming SHIFTED_HZ */
+/* TICK_USEC is the time between ticks in usec */
#define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
/* USER_TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
diff --git a/include/vdso/jiffies.h b/include/vdso/jiffies.h
index 2f9d596c8b29..8ca04a141412 100644
--- a/include/vdso/jiffies.h
+++ b/include/vdso/jiffies.h
@@ -5,7 +5,7 @@
#include <asm/param.h> /* for HZ */
#include <vdso/time64.h>
-/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
+/* TICK_NSEC is the time between ticks in nsec */
#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
#endif /* __VDSO_JIFFIES_H */
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: timers/core] jiffies: Remove obsolete SHIFTED_HZ comment
2025-08-25 20:34 [PATCH] jiffies: Remove obsolete SHIFTED_HZ comment Bjorn Helgaas
@ 2025-09-03 10:04 ` tip-bot2 for Bjorn Helgaas
2025-09-03 23:19 ` [PATCH] " John Stultz
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Bjorn Helgaas @ 2025-09-03 10:04 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Bjorn Helgaas, Thomas Gleixner, x86, linux-kernel
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 0a26e5eb78fb1627beb8e3eb172737f8492d2799
Gitweb: https://git.kernel.org/tip/0a26e5eb78fb1627beb8e3eb172737f8492d2799
Author: Bjorn Helgaas <bhelgaas@google.com>
AuthorDate: Mon, 25 Aug 2025 15:34:23 -05:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 03 Sep 2025 11:59:28 +02:00
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
---
include/linux/jiffies.h | 2 +-
include/vdso/jiffies.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 91b2078..0d1927d 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -61,7 +61,7 @@
extern void register_refined_jiffies(long clock_tick_rate);
-/* TICK_USEC is the time between ticks in usec assuming SHIFTED_HZ */
+/* TICK_USEC is the time between ticks in usec */
#define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
/* USER_TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
diff --git a/include/vdso/jiffies.h b/include/vdso/jiffies.h
index 2f9d596..8ca04a1 100644
--- a/include/vdso/jiffies.h
+++ b/include/vdso/jiffies.h
@@ -5,7 +5,7 @@
#include <asm/param.h> /* for HZ */
#include <vdso/time64.h>
-/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
+/* TICK_NSEC is the time between ticks in nsec */
#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
#endif /* __VDSO_JIFFIES_H */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] jiffies: Remove obsolete SHIFTED_HZ comment
2025-08-25 20:34 [PATCH] jiffies: Remove obsolete SHIFTED_HZ comment Bjorn Helgaas
2025-09-03 10:04 ` [tip: timers/core] " tip-bot2 for Bjorn Helgaas
@ 2025-09-03 23:19 ` John Stultz
1 sibling, 0 replies; 3+ messages in thread
From: John Stultz @ 2025-09-03 23:19 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Thomas Gleixner, Andy Lutomirski, linux-kernel, Bjorn Helgaas
On Mon, Aug 25, 2025 at 1:34 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> 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>
Acked-by: John Stultz <jstultz@google.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-03 23:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-25 20:34 [PATCH] jiffies: Remove obsolete SHIFTED_HZ comment Bjorn Helgaas
2025-09-03 10:04 ` [tip: timers/core] " tip-bot2 for Bjorn Helgaas
2025-09-03 23:19 ` [PATCH] " John Stultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®