public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] posix-timers: refer properly to CONFIG_HIGH_RES_TIMERS
@ 2023-06-09  9:46 Lukas Bulwahn
  2023-06-10 12:07 ` [tip: timers/core] posix-timers: Refer " tip-bot2 for Lukas Bulwahn
  2023-06-18 20:49 ` tip-bot2 for Lukas Bulwahn
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Bulwahn @ 2023-06-09  9:46 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

Commit c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
turns an ifdef CONFIG_HIGH_RES_TIMERS into an conditional on
"IS_ENABLED(CONFIG_HIGHRES_TIMERS)"; note that the new conditional refers
to "HIGHRES_TIMERS" not "HIGH_RES_TIMERS" as before.

Fix this typo introduced in that refactoring.

Fixes: c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 8bb0dcf2e3d9..17fff6826a15 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -356,7 +356,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
 			 * enabled as the periodic tick based timers are
 			 * automatically aligned to the next tick.
 			 */
-			if (IS_ENABLED(CONFIG_HIGHRES_TIMERS)) {
+			if (IS_ENABLED(CONFIG_HIGH_RES_TIMERS)) {
 				ktime_t kj = TICK_NSEC;
 
 				if (timr->it_interval < kj)
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip: timers/core] posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS
  2023-06-09  9:46 [PATCH] posix-timers: refer properly to CONFIG_HIGH_RES_TIMERS Lukas Bulwahn
@ 2023-06-10 12:07 ` tip-bot2 for Lukas Bulwahn
  2023-06-18 20:49 ` tip-bot2 for Lukas Bulwahn
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Lukas Bulwahn @ 2023-06-10 12:07 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Lukas Bulwahn, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     0babddc4977904509287719c1314b9e04bec2307
Gitweb:        https://git.kernel.org/tip/0babddc4977904509287719c1314b9e04bec2307
Author:        Lukas Bulwahn <lukas.bulwahn@gmail.com>
AuthorDate:    Fri, 09 Jun 2023 11:46:43 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Sat, 10 Jun 2023 13:58:35 +02:00

posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS

Commit c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
turns an ifdef CONFIG_HIGH_RES_TIMERS into an conditional on
"IS_ENABLED(CONFIG_HIGHRES_TIMERS)"; note that the new conditional refers
to "HIGHRES_TIMERS" not "HIGH_RES_TIMERS" as before.

Fix this typo introduced in that refactoring.

Fixes: c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230609094643.26253-1-lukas.bulwahn@gmail.com

---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 8bb0dcf..17fff68 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -356,7 +356,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
 			 * enabled as the periodic tick based timers are
 			 * automatically aligned to the next tick.
 			 */
-			if (IS_ENABLED(CONFIG_HIGHRES_TIMERS)) {
+			if (IS_ENABLED(CONFIG_HIGH_RES_TIMERS)) {
 				ktime_t kj = TICK_NSEC;
 
 				if (timr->it_interval < kj)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip: timers/core] posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS
  2023-06-09  9:46 [PATCH] posix-timers: refer properly to CONFIG_HIGH_RES_TIMERS Lukas Bulwahn
  2023-06-10 12:07 ` [tip: timers/core] posix-timers: Refer " tip-bot2 for Lukas Bulwahn
@ 2023-06-18 20:49 ` tip-bot2 for Lukas Bulwahn
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Lukas Bulwahn @ 2023-06-18 20:49 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Lukas Bulwahn, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     b9a40f24d8ea86f89f1299a3f2dccd601febe3e5
Gitweb:        https://git.kernel.org/tip/b9a40f24d8ea86f89f1299a3f2dccd601febe3e5
Author:        Lukas Bulwahn <lukas.bulwahn@gmail.com>
AuthorDate:    Fri, 09 Jun 2023 11:46:43 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Sun, 18 Jun 2023 22:41:53 +02:00

posix-timers: Refer properly to CONFIG_HIGH_RES_TIMERS

Commit c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
turns an ifdef CONFIG_HIGH_RES_TIMERS into an conditional on
"IS_ENABLED(CONFIG_HIGHRES_TIMERS)"; note that the new conditional refers
to "HIGHRES_TIMERS" not "HIGH_RES_TIMERS" as before.

Fix this typo introduced in that refactoring.

Fixes: c78f261e5dcb ("posix-timers: Clarify posix_timer_fn() comments")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230609094643.26253-1-lukas.bulwahn@gmail.com

---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index e3cddd5..b924f0f 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -356,7 +356,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
 			 * enabled as the periodic tick based timers are
 			 * automatically aligned to the next tick.
 			 */
-			if (IS_ENABLED(CONFIG_HIGHRES_TIMERS)) {
+			if (IS_ENABLED(CONFIG_HIGH_RES_TIMERS)) {
 				ktime_t kj = TICK_NSEC;
 
 				if (timr->it_interval < kj)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-18 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09  9:46 [PATCH] posix-timers: refer properly to CONFIG_HIGH_RES_TIMERS Lukas Bulwahn
2023-06-10 12:07 ` [tip: timers/core] posix-timers: Refer " tip-bot2 for Lukas Bulwahn
2023-06-18 20:49 ` tip-bot2 for Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox