Fix yet another inversion in the logic by applying the x86 version of this,
which avoids CPU_EMPTY() in the first place. Do I get a beer or something for every inversion I find?
This commit is contained in:
parent
c5a5c48e70
commit
e0bdfaa331
@ -573,8 +573,8 @@ spitfire_ipi_selected(cpuset_t cpus, u_long d0, u_long d1, u_long d2)
|
||||
{
|
||||
u_int cpu;
|
||||
|
||||
while (CPU_EMPTY(&cpus)) {
|
||||
cpu = cpusetobj_ffs(&cpus) - 1;
|
||||
while ((cpu = cpusetobj_ffs(&cpus)) != 0) {
|
||||
cpu--;
|
||||
CPU_CLR(cpu, &cpus);
|
||||
spitfire_ipi_single(cpu, d0, d1, d2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user