preempt/dynamic: fix typo in macro conditional statement
PATCH 1/1 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.
This patch fix this typo.
--- kernel/entry/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/entry/common.c +1 -1
@@ -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 ();
Signature · 1 line
2.25.1
Peter Zijlstra
maintainerQuoted 7 lines · Zhouyi Zhou
commit
40607ee97e4e("preempt/dynamic: Provideirqentry_exit_cond_resched()
static call") tried to provideirqentry_exit_cond_resched()static call
inirqentry_exit, but has a typo in macro conditional statement.This patch fix this typo.
Signed-off-by Zhouyi Zhou <[email protected]>
Thanks!
[tip: sched/urgent] preempt/dynamic: Fix typo in macro conditional statement
In reply to Zhouyi ZhouThe following commit has been merged into the sched/urgent branch of tip:
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 <[email protected]> AuthorDate: Sat, 10 Apr 2021 15:35:23 +08:00 Committer: Peter Zijlstra <[email protected]> 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.
--- kernel/entry/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/entry/common.c +1 -1
@@ -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 ();