summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/smp.h
diff options
context:
space:
mode:
authorLiangliang Huang <huanglllzu@gmail.com>2020-04-24 01:44:21 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-24 18:27:51 +0200
commitd82d500f5118f9d07477d597fe75c3bd73b44c8e (patch)
tree39fa1023f8372f77b43d4fa16fe7b1a16048dac3 /arch/mips/include/asm/smp.h
parentMIPS: Loongson-3: Add some unaligned instructions emulation (diff)
downloadlinux-d82d500f5118f9d07477d597fe75c3bd73b44c8e.tar.xz
linux-d82d500f5118f9d07477d597fe75c3bd73b44c8e.zip
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>
Diffstat (limited to 'arch/mips/include/asm/smp.h')
-rw-r--r--arch/mips/include/asm/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h
index 7990c1c70471..5d9ff61004ca 100644
--- a/arch/mips/include/asm/smp.h
+++ b/arch/mips/include/asm/smp.h
@@ -125,7 +125,7 @@ static inline void arch_send_call_function_single_ipi(int cpu)
{
extern const struct plat_smp_ops *mp_ops; /* private */
- mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION);
+ mp_ops->send_ipi_single(cpu, SMP_CALL_FUNCTION);
}
static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)