Loading arch/mips/include/asm/smp.h +13 −2 Original line number Diff line number Diff line Loading @@ -77,7 +77,18 @@ extern void play_dead(void); extern asmlinkage void smp_call_function_interrupt(void); extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); 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); } static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) { extern struct plat_smp_ops *mp_ops; /* private */ mp_ops->send_ipi_mask(mask, SMP_CALL_FUNCTION); } #endif /* __ASM_SMP_H */ arch/mips/kernel/smp.c +0 −13 Original line number Diff line number Diff line Loading @@ -127,19 +127,6 @@ asmlinkage __cpuinit void start_secondary(void) cpu_idle(); } void arch_send_call_function_ipi_mask(const struct cpumask *mask) { mp_ops->send_ipi_mask(mask, SMP_CALL_FUNCTION); } /* * We reuse the same vector for the single IPI */ void arch_send_call_function_single_ipi(int cpu) { mp_ops->send_ipi_mask(&cpumask_of_cpu(cpu), SMP_CALL_FUNCTION); } /* * Call into both interrupt handlers, as we share the IPI for them */ Loading Loading
arch/mips/include/asm/smp.h +13 −2 Original line number Diff line number Diff line Loading @@ -77,7 +77,18 @@ extern void play_dead(void); extern asmlinkage void smp_call_function_interrupt(void); extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); 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); } static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) { extern struct plat_smp_ops *mp_ops; /* private */ mp_ops->send_ipi_mask(mask, SMP_CALL_FUNCTION); } #endif /* __ASM_SMP_H */
arch/mips/kernel/smp.c +0 −13 Original line number Diff line number Diff line Loading @@ -127,19 +127,6 @@ asmlinkage __cpuinit void start_secondary(void) cpu_idle(); } void arch_send_call_function_ipi_mask(const struct cpumask *mask) { mp_ops->send_ipi_mask(mask, SMP_CALL_FUNCTION); } /* * We reuse the same vector for the single IPI */ void arch_send_call_function_single_ipi(int cpu) { mp_ops->send_ipi_mask(&cpumask_of_cpu(cpu), SMP_CALL_FUNCTION); } /* * Call into both interrupt handlers, as we share the IPI for them */ Loading