From: Zhouyi Zhou Date: Sat, 10 Apr 2021 07:35:23 +0000 (+0800) Subject: preempt/dynamic: Fix typo in macro conditional statement X-Git-Tag: accepted/tizen/unified/20230118.172025~7450^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c89d87d1d43d9fa268d1dc489518564d58bf497;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20210410073523.5493-1-zhouzhouyi@gmail.com --- 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();