diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-03 02:24:16 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-12 00:46:18 +0200 |
commit | bd6aeeffcc0be716e4d2d1f27fb132741e345cc0 (patch) | |
tree | db8e97d4669856ed85b73b40ba65301346ca4dd1 /include/asm-mips/smp.h | |
parent | [MIPS] Make facility to convert CPU types to strings generally available. (diff) | |
download | linux-bd6aeeffcc0be716e4d2d1f27fb132741e345cc0.tar.xz linux-bd6aeeffcc0be716e4d2d1f27fb132741e345cc0.zip |
[MIPS] SMP: Implement smp_call_function_mask().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-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; */ extern void core_send_ipi(int cpu, unsigned int action); +static inline void core_send_ipi_mask(cpumask_t mask, unsigned int action) +{ + unsigned int i; + + for_each_cpu_mask(i, mask) + core_send_ipi(i, action); +} + + /* * Firmware CPU startup hook */ |