Skip to content

Commit ef31b8c

Browse files
diandersctmarinas
authored andcommitted
arm64: smp: Don't directly call arch_smp_send_reschedule() for wakeup
In commit 2b2d0a7 ("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: 2b2d0a7 ("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>
1 parent a07a594 commit ef31b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ void arch_send_wakeup_ipi(unsigned int cpu)
10611061
* We use a scheduler IPI to wake the CPU as this avoids the need for a
10621062
* dedicated IPI and we can safely handle spurious scheduler IPIs.
10631063
*/
1064-
arch_smp_send_reschedule(cpu);
1064+
smp_send_reschedule(cpu);
10651065
}
10661066
#endif
10671067

0 commit comments

Comments
 (0)