Re: [2.6.0-test7] cpufreq longhaul trouble

From: Dave Jones
Date: Fri Oct 10 2003 - 14:58:48 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/