FreeBSD/sys/mips/mips/mp_machdep.c
/* Send an IPI to a set of cpus. */
Send an IPI to a set of cpus.
Send an IPI to a set of cpus .
void
ipi_selected(cpuset_t cpus, int ipi)
{
	struct pcpu *pc;
	STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
		if (CPU_ISSET(pc->pc_cpuid, &cpus)) {
			CTR3(KTR_SMP, "%s: pc: %p, ipi: %x\n", __func__, pc,
			    ipi);
			ipi_send(pc, ipi);
		}
	}
}
void ipi_selected ( cpuset_t cpus , int ipi ) { struct pcpu * pc ; STAILQ_FOREACH ( pc , & cpuhead , pc_allcpu ) { if ( CPU_ISSET ( pc -> pc_cpuid , & cpus ) ) { CTR3 ( KTR_SMP , " \n " , __func__ , pc , ipi ) ; ipi_send ( pc , ipi ) ; } } }
Send an IPI to a set of cpus.
Send an IPI to a set of cpus .