Hopefully fixed cpufreq.c thanks kasper_h