Messages in this thread | | | Date | Fri, 10 Oct 2003 20:58:00 +0100 | From | Dave Jones <> | Subject | Re: [2.6.0-test7] cpufreq longhaul trouble |
| |
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; }
-- Dave Jones http://www.codemonkey.org.uk - 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/
| |