Re: [PATCH] cpufreq: loongson2_cpufreq: don't declare local variable as static

From: Alexandre Oliva
Date: Fri Apr 04 2014 - 10:35:57 EST

On Apr 3, 2014, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:

> On 3 April 2014 18:10, Alexandre Oliva <oliva@xxxxxxx> wrote:
>> FWIW, the same mistake is present in at32.

> I will check others as well now :)


>> Reverting all the changes to loongson2_cpufreq.c in 652ed95d5fa makes
>> cpufreq work again, as opposed to printing nan% in all cpufreq stats in
>> cpufreq-info's output, and freezing shortly thereafter.

> You must have a look at this:

> : [PATCH] MIPS/loongson2_cpufreq:
> fix CPU clock rate setting

Thanks, I confirm that patch is enough to avoid the symptoms I'd

Alexandre Oliva, freedom fighter
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at