]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mips: fix obsolete cpumask_of_cpu usage.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Mar 2015 02:30:43 +0000 (13:00 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Mar 2015 03:24:40 +0000 (13:54 +1030)
Plus, it's weird.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/mips/include/asm/smp.h

index eacf865d21c2fc533a36d6b2138253dacba667a9..bb02fac9b4fa0188e12b263376f3e1e08f83b022 100644 (file)
@@ -88,7 +88,7 @@ static inline void arch_send_call_function_single_ipi(int cpu)
 {
        extern struct plat_smp_ops *mp_ops;     /* private */
 
-       mp_ops->send_ipi_mask(&cpumask_of_cpu(cpu), SMP_CALL_FUNCTION);
+       mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION);
 }
 
 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)