summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/smp.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-10-02 09:45:30 -0700
committerCatalin Marinas <catalin.marinas@arm.com>2023-10-06 12:35:01 +0100
commitef31b8ce313eaf891bf705d5db754e549351816f (patch)
tree2a44f7526e770b9741f889a286de2a3c5ac8e597 /arch/arm64/kernel/smp.c
parenta07a594152173a3dd3bdd12fc7d73dbba54cdbca (diff)
arm64: smp: Don't directly call arch_smp_send_reschedule() for wakeup
In commit 2b2d0a7a96ab ("arm64: smp: Remove dedicated wakeup IPI") we started using a scheduler IPI to avoid a dedicated reschedule. When we did this, we used arch_smp_send_reschedule() directly rather than calling smp_send_reschedule(). The only difference is that calling arch_smp_send_reschedule() directly avoids tracing. Presumably we _don't_ want to avoid tracing here, so switch to smp_send_reschedule(). Fixes: 2b2d0a7a96ab ("arm64: smp: Remove dedicated wakeup IPI") Signed-off-by: Douglas Anderson <dianders@chromium.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/smp.c')
-rw-r--r--arch/arm64/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
index 061c69160f90..16ead57a583d 100644
--- a/arch/arm64/kernel/smp.c
+++ b/arch/arm64/kernel/smp.c
@@ -1061,7 +1061,7 @@ void arch_send_wakeup_ipi(unsigned int cpu)
* We use a scheduler IPI to wake the CPU as this avoids the need for a
* dedicated IPI and we can safely handle spurious scheduler IPIs.
*/
- arch_smp_send_reschedule(cpu);
+ smp_send_reschedule(cpu);
}
#endif