[Cbe-oss-dev] cbe_cpufreq.c initialisation
benh at kernel.crashing.org
Tue Apr 3 18:37:31 EST 2007
On Tue, 2007-04-03 at 18:20 +1000, Stephen Rothwell wrote:
> Hi all,
> In cbe_cpufreq_cpu_init, there is this code:
> max_freq = (u32*) get_property(cpu, "clock-frequency", NULL);
> // we need the freq in kHz
> *max_freq /= 1000;
> does this really need to modify the property value in place?
No, that's obviously a bug...
More information about the Linuxppc-dev