X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-mips%2Fsmp.h;h=dc770025a9b0c98fcbe954f677713c0f85f91b7d;hb=717d50e4971b81b96c0199c91cdf0039a8cb181a;hp=13aef6af422c1cbd9eb445df6c5cbda10b852407;hpb=b4b613fd83853f8c688b3de20ab1a42331257975;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-mips/smp.h b/include/asm-mips/smp.h index 13aef6af422..dc770025a9b 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 */