cpufreq_dt: Fix r358555
Before skipping the current cpu when trying to find the ones that have the same opp, record that this one have this opp. Reported by: mmel MFC after: 2 weeks X-MFC-With: r358555
This commit is contained in:
parent
d970778e6f
commit
21d69a144e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358799
@ -519,7 +519,7 @@ cpufreq_dt_attach(device_t dev)
|
|||||||
continue;
|
continue;
|
||||||
if (cpu == sc->cpu) {
|
if (cpu == sc->cpu) {
|
||||||
DEBUG(dev, "Skipping our cpu\n");
|
DEBUG(dev, "Skipping our cpu\n");
|
||||||
cpu++;
|
CPU_SET(cpu++, &sc->cpus);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
DEBUG(dev, "Testing CPU %d\n", cpu);
|
DEBUG(dev, "Testing CPU %d\n", cpu);
|
||||||
|
Loading…
Reference in New Issue
Block a user