Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: arch_send_call_function_single_ipi() calling conventions change

Use mp_ops->send_ipi_single() instead of mp_ops->send_ipi_mask() in
arch_send_call_function_single_ipi(). send_ipi_single() can send
IPI signal to a special cpu more efficiently.

Signed-off-by: Liangliang Huang <huangll@lemote.com>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Liangliang Huang and committed by
Thomas Bogendoerfer
d82d500f f83e4f98

+1 -1
+1 -1
arch/mips/include/asm/smp.h
··· 125 125 { 126 126 extern const struct plat_smp_ops *mp_ops; /* private */ 127 127 128 - mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION); 128 + mp_ops->send_ipi_single(cpu, SMP_CALL_FUNCTION); 129 129 } 130 130 131 131 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)