ref: 6a23ef917bfdb41415dc36be5cd8b8e8e64ddc23
parent: 26193c4bffcb9af25d1a48537b79b939863cbde8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jan 27 14:58:48 EST 2018
kernel: initialize cyclefreq for machno > 0 in guesscpuhz()
--- a/sys/src/9/pc/i8253.c
+++ b/sys/src/9/pc/i8253.c
@@ -133,6 +133,7 @@
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;
}