Skip to content

Commit 0c89d87

Browse files
zhouzhouyi-hubPeter Zijlstra
authored andcommitted
preempt/dynamic: Fix typo in macro conditional statement
Commit 40607ee ("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: 40607ee ("preempt/dynamic: Provide irqentry_exit_cond_resched() static call") Signed-off-by: Zhouyi Zhou <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent bf05bf1 commit 0c89d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/entry/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state)
422422

423423
instrumentation_begin();
424424
if (IS_ENABLED(CONFIG_PREEMPTION)) {
425-
#ifdef CONFIG_PREEMT_DYNAMIC
425+
#ifdef CONFIG_PREEMPT_DYNAMIC
426426
static_call(irqentry_exit_cond_resched)();
427427
#else
428428
irqentry_exit_cond_resched();

0 commit comments

Comments
 (0)