mirror of https://lore.kernel.org/lkml/
 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	[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

all inboxes | Powered by JetHome®