Re: [PATCH]: fix 32bits integer overflow in loops_per_jiffy calculation

Benjamin Herrenschmidt
2002-08-22T17:31:53Z

>IMHO per-arch functions are really not needed. The only architectures which
>have CPUFreq drivers by now are ARM and i386. This will change, hopefully;
>IMHO it should be enough to include some basic limit checking in
>cpufreq_scale().

In this specific case, we were talking about PPC since the problem
occured when I implemented cpufreq support to switch the speed
of the latest powerbooks between 667 and 800Mhz

Ben.