Send an IPI to a set of cpus. */
| 87 | |
| 88 | /* Send an IPI to a set of cpus. */ |
| 89 | void |
| 90 | ipi_selected(cpuset_t cpus, int ipi) |
| 91 | { |
| 92 | struct pcpu *pc; |
| 93 | |
| 94 | STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) { |
| 95 | if (CPU_ISSET(pc->pc_cpuid, &cpus)) { |
| 96 | CTR3(KTR_SMP, "%s: pc: %p, ipi: %x\n", __func__, pc, |
| 97 | ipi); |
| 98 | ipi_send(pc, ipi); |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | /* Send an IPI to a specific CPU. */ |
| 104 | void |
no test coverage detected