[tip:,sched/urgent] preempt/dynamic: Fix typo in macro conditional statement
diff mbox series

Message ID 161891524495.29796.16697487389176619561.tip-bot2@tip-bot2
State Accepted
Commit 0c89d87d1d43d9fa268d1dc489518564d58bf497
Headers show
Series
  • [tip:,sched/urgent] preempt/dynamic: Fix typo in macro conditional statement
Related show

Commit Message

tip-bot2 for Joerg Roedel April 20, 2021, 10:40 a.m. UTC
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(-)

Patch
diff mbox series

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();