diff options
Diffstat (limited to 'include/asm-mips/smp.h')
-rw-r--r-- | include/asm-mips/smp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-mips/smp.h b/include/asm-mips/smp.h index 13aef6af422c..dc770025a9b0 100644 --- a/include/asm-mips/smp.h +++ b/include/asm-mips/smp.h | |||
@@ -60,6 +60,15 @@ extern cpumask_t phys_cpu_present_map; | |||
60 | */ | 60 | */ |
61 | extern void core_send_ipi(int cpu, unsigned int action); | 61 | extern void core_send_ipi(int cpu, unsigned int action); |
62 | 62 | ||
63 | static inline void core_send_ipi_mask(cpumask_t mask, unsigned int action) | ||
64 | { | ||
65 | unsigned int i; | ||
66 | |||
67 | for_each_cpu_mask(i, mask) | ||
68 | core_send_ipi(i, action); | ||
69 | } | ||
70 | |||
71 | |||
63 | /* | 72 | /* |
64 | * Firmware CPU startup hook | 73 | * Firmware CPU startup hook |
65 | */ | 74 | */ |