aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-09 22:30:43 -0400
committerRusty Russell <rusty@rustcorp.com.au>2015-03-09 23:24:40 -0400
commit1ed1835f5fadf057ab081cbe31ac353d4547a25b (patch)
tree92ab7d1017fb3befd30a4f0ed6accfd222025f5f /arch/mips/include/asm
parentfdaf3a6539d6b9b6a7240c3b00bd81c813b2760d (diff)
mips: fix obsolete cpumask_of_cpu usage.
Plus, it's weird. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/mips/include/asm')
-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 eacf865d21c2..bb02fac9b4fa 100644
--- a/arch/mips/include/asm/smp.h
+++ b/arch/mips/include/asm/smp.h
@@ -88,7 +88,7 @@ static inline void arch_send_call_function_single_ipi(int cpu)
88{ 88{
89 extern struct plat_smp_ops *mp_ops; /* private */ 89 extern struct plat_smp_ops *mp_ops; /* private */
90 90
91 mp_ops->send_ipi_mask(&cpumask_of_cpu(cpu), SMP_CALL_FUNCTION); 91 mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION);
92} 92}
93 93
94static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) 94static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)