kernel: initialize cyclefreq for machno > 0 in guesscpuhz()
This commit is contained in:
parent
26193c4bff
commit
6a23ef917b
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ guesscpuhz(int aalcycles)
|
|||
if(m->machno != 0){
|
||||
m->cpuhz = MACHP(0)->cpuhz;
|
||||
m->cpumhz = MACHP(0)->cpumhz;
|
||||
m->cyclefreq = MACHP(0)->cyclefreq;
|
||||
m->loopconst = MACHP(0)->loopconst;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue