Messages in this thread | | | Subject | Re: [2.6.0-test7] cpufreq longhaul trouble | From | Jurgen Kramer <> | Date | Fri, 10 Oct 2003 22:03:23 +0200 |
| |
On Fri, 2003-10-10 at 21:58, Dave Jones wrote: > On Fri, Oct 10, 2003 at 09:54:11PM +0200, Jurgen Kramer wrote: > > > > 995 > > > wtf, it still displays "Highestspeed=798MHz" on startup though right ? > > Yep, > > another stupid bug. > calc_speed should look like this.. > > static unsigned int calc_speed (int mult, int fsb) > { > int mhz; > mhz = (mult/10)*fsb; > if (mult%10) > mhz += fsb/2; > return mhz; > } >
Fixed that one:
[root@paradox cpufreq]# more * :::::::::::::: cpuinfo_max_freq :::::::::::::: 798 :::::::::::::: cpuinfo_min_freq :::::::::::::: 399 :::::::::::::: scaling_available_governors :::::::::::::: userspace :::::::::::::: scaling_driver :::::::::::::: longhaul :::::::::::::: scaling_governor :::::::::::::: userspace :::::::::::::: scaling_max_freq :::::::::::::: 798 :::::::::::::: scaling_min_freq :::::::::::::: 399 :::::::::::::: scaling_setspeed :::::::::::::: 798
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |