linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] preempt/dynamic: fix typo in macro conditional statement
@ 2021-04-10  7:35 Zhouyi Zhou
  2021-04-19  8:39 ` Peter Zijlstra
  2021-04-20 10:40 ` [tip: sched/urgent] preempt/dynamic: Fix " tip-bot2 for Zhouyi Zhou
  0 siblings, 2 replies; 3+ messages in thread
From: Zhouyi Zhou @ 2021-04-10  7:35 UTC (permalink / raw)
  To: tglx, peterz, luto, linux-kernel; +Cc: Zhouyi Zhou

commit 40607ee97e4e ("preempt/dynamic: Provide irqentry_exit_cond_resched()
 static call") tried to provide irqentry_exit_cond_resched() static call
in irqentry_exit, but has a typo in macro conditional statement.

This patch fix this typo.

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
---
 kernel/entry/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index 8442e5c9cfa2..2003d69bd6d5 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -422,7 +422,7 @@ noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state)
 
 		instrumentation_begin();
 		if (IS_ENABLED(CONFIG_PREEMPTION)) {
-#ifdef CONFIG_PREEMT_DYNAMIC
+#ifdef CONFIG_PREEMPT_DYNAMIC
 			static_call(irqentry_exit_cond_resched)();
 #else
 			irqentry_exit_cond_resched();
-- 
2.25.1


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

* Re: [PATCH] preempt/dynamic: fix typo in macro conditional statement
  2021-04-10  7:35 [PATCH] preempt/dynamic: fix typo in macro conditional statement Zhouyi Zhou
@ 2021-04-19  8:39 ` Peter Zijlstra
  2021-04-20 10:40 ` [tip: sched/urgent] preempt/dynamic: Fix " tip-bot2 for Zhouyi Zhou
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2021-04-19  8:39 UTC (permalink / raw)
  To: Zhouyi Zhou; +Cc: tglx, luto, linux-kernel

On Sat, Apr 10, 2021 at 03:35:23PM +0800, Zhouyi Zhou wrote:
> commit 40607ee97e4e ("preempt/dynamic: Provide irqentry_exit_cond_resched()
>  static call") tried to provide irqentry_exit_cond_resched() static call
> in irqentry_exit, but has a typo in macro conditional statement.
> 
> This patch fix this typo.
> 
> Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>

Fixes: 40607ee97e4e ("preempt/dynamic: Provide irqentry_exit_cond_resched() static call")

Thanks!

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

* [tip: sched/urgent] preempt/dynamic: Fix typo in macro conditional statement
  2021-04-10  7:35 [PATCH] preempt/dynamic: fix typo in macro conditional statement Zhouyi Zhou
  2021-04-19  8:39 ` Peter Zijlstra
@ 2021-04-20 10:40 ` tip-bot2 for Zhouyi Zhou
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Zhouyi Zhou @ 2021-04-20 10:40 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Zhouyi Zhou, Peter Zijlstra (Intel), x86, linux-kernel

The following commit has been merged into the sched/urgent branch of tip:

Commit-ID:     0c89d87d1d43d9fa268d1dc489518564d58bf497
Gitweb:        https://git.kernel.org/tip/0c89d87d1d43d9fa268d1dc489518564d58bf497
Author:        Zhouyi Zhou <zhouzhouyi@gmail.com>
AuthorDate:    Sat, 10 Apr 2021 15:35:23 +08:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Mon, 19 Apr 2021 20:02:57 +02:00

preempt/dynamic: Fix typo in macro conditional statement

Commit 40607ee97e4e ("preempt/dynamic: Provide irqentry_exit_cond_resched()
static call") tried to provide irqentry_exit_cond_resched() static call
in irqentry_exit, but has a typo in macro conditional statement.

Fixes: 40607ee97e4e ("preempt/dynamic: Provide irqentry_exit_cond_resched() static call")
Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210410073523.5493-1-zhouzhouyi@gmail.com
---
 kernel/entry/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index 8442e5c..2003d69 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -422,7 +422,7 @@ noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state)
 
 		instrumentation_begin();
 		if (IS_ENABLED(CONFIG_PREEMPTION)) {
-#ifdef CONFIG_PREEMT_DYNAMIC
+#ifdef CONFIG_PREEMPT_DYNAMIC
 			static_call(irqentry_exit_cond_resched)();
 #else
 			irqentry_exit_cond_resched();

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

end of thread, other threads:[~2021-04-20 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10  7:35 [PATCH] preempt/dynamic: fix typo in macro conditional statement Zhouyi Zhou
2021-04-19  8:39 ` Peter Zijlstra
2021-04-20 10:40 ` [tip: sched/urgent] preempt/dynamic: Fix " tip-bot2 for Zhouyi Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).