sh: cpufreq: percpu struct clk accounting.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 08:49:16 +0000 (17:49 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 08:49:16 +0000 (17:49 +0900)
commit3bccf467727c82421e5f7b630c9bb864ebe8d2e6
tree66e692cc557dbbf87fbd11de651a5ee21e5016e0
parent74ea15d909b31158f9b63190a95b52bc05586d4b
sh: cpufreq: percpu struct clk accounting.

At the moment there is simply a global struct clk pointer for the CPU
frequency, which is fundamentally broken in the SMP case. This moves to
fix it up by switching to a percpu case.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpufreq.c