aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/include/asm/smp-ops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/include/asm/smp-ops.h b/arch/mips/include/asm/smp-ops.h
index a042d24534bd..73d35b18fb64 100644
--- a/arch/mips/include/asm/smp-ops.h
+++ b/arch/mips/include/asm/smp-ops.h
@@ -45,6 +45,9 @@ static inline void plat_smp_setup(void)
45 mp_ops->smp_setup(); 45 mp_ops->smp_setup();
46} 46}
47 47
48extern void gic_send_ipi_single(int cpu, unsigned int action);
49extern void gic_send_ipi_mask(const struct cpumask *mask, unsigned int action);
50
48#else /* !CONFIG_SMP */ 51#else /* !CONFIG_SMP */
49 52
50struct plat_smp_ops; 53struct plat_smp_ops;
@@ -60,9 +63,6 @@ static inline void register_smp_ops(struct plat_smp_ops *ops)
60 63
61#endif /* !CONFIG_SMP */ 64#endif /* !CONFIG_SMP */
62 65
63extern void gic_send_ipi_single(int cpu, unsigned int action);
64extern void gic_send_ipi_mask(const struct cpumask *mask, unsigned int action);
65
66static inline int register_up_smp_ops(void) 66static inline int register_up_smp_ops(void)
67{ 67{
68#ifdef CONFIG_SMP_UP 68#ifdef CONFIG_SMP_UP