diff options
Diffstat (limited to 'arch/mips/include/asm/smp.h')
-rw-r--r-- | arch/mips/include/asm/smp.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h index 8bc6c70a4030..060f23ff1817 100644 --- a/arch/mips/include/asm/smp.h +++ b/arch/mips/include/asm/smp.h | |||
@@ -85,6 +85,20 @@ static inline void __cpu_die(unsigned int cpu) | |||
85 | extern void play_dead(void); | 85 | extern void play_dead(void); |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | /* | ||
89 | * This function will set up the necessary IPIs for Linux to communicate | ||
90 | * with the CPUs in mask. | ||
91 | * Return 0 on success. | ||
92 | */ | ||
93 | int mips_smp_ipi_allocate(const struct cpumask *mask); | ||
94 | |||
95 | /* | ||
96 | * This function will free up IPIs allocated with mips_smp_ipi_allocate to the | ||
97 | * CPUs in mask, which must be a subset of the IPIs that have been configured. | ||
98 | * Return 0 on success. | ||
99 | */ | ||
100 | int mips_smp_ipi_free(const struct cpumask *mask); | ||
101 | |||
88 | static inline void arch_send_call_function_single_ipi(int cpu) | 102 | static inline void arch_send_call_function_single_ipi(int cpu) |
89 | { | 103 | { |
90 | extern struct plat_smp_ops *mp_ops; /* private */ | 104 | extern struct plat_smp_ops *mp_ops; /* private */ |