diff options
author | Bastian Blank <bastian@waldi.eu.org> | 2009-08-12 19:30:45 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-26 23:12:53 -0400 |
commit | 6fdc31a2b86cf1f98e3eed896578ad9659eeb0f8 (patch) | |
tree | 3dc55dbbacbb556098d3385942585841e79184ec /arch/powerpc/platforms/powermac | |
parent | 14d757520a08d09745c3b18bb34addd9bef56e2d (diff) |
powerpc: Remove SMP warning from PowerMac cpufreq
On Thu, Aug 13, 2009 at 04:14:58PM +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2009-08-11 at 11:39 +0200, Bastian Blank wrote:
> > This patch just disables this driver on SMP kernels, as it is obviously
> > not supported.
> Why not remove the #error instead ? :-) I don't think it's still
> meaningful, especially since we use the timebase for delays nowadays
> which doesn't depend on the CPU frequency...
Your call. Take this one:
The build of a PowerMac 32bit kernel currently fails with
error: #warning "WARNING, CPUFREQ not recommended on SMP kernels"
Thie patch removes the not longer applicable SMP warning from the
PowerMac cpufreq code.
Signed-off-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r-- | arch/powerpc/platforms/powermac/cpufreq_32.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/powermac/cpufreq_32.c b/arch/powerpc/platforms/powermac/cpufreq_32.c index 65c585b8b00..08d94e4cedd 100644 --- a/arch/powerpc/platforms/powermac/cpufreq_32.c +++ b/arch/powerpc/platforms/powermac/cpufreq_32.c | |||
@@ -44,14 +44,6 @@ | |||
44 | */ | 44 | */ |
45 | #undef DEBUG_FREQ | 45 | #undef DEBUG_FREQ |
46 | 46 | ||
47 | /* | ||
48 | * There is a problem with the core cpufreq code on SMP kernels, | ||
49 | * it won't recalculate the Bogomips properly | ||
50 | */ | ||
51 | #ifdef CONFIG_SMP | ||
52 | #warning "WARNING, CPUFREQ not recommended on SMP kernels" | ||
53 | #endif | ||
54 | |||
55 | extern void low_choose_7447a_dfs(int dfs); | 47 | extern void low_choose_7447a_dfs(int dfs); |
56 | extern void low_choose_750fx_pll(int pll); | 48 | extern void low_choose_750fx_pll(int pll); |
57 | extern void low_sleep_handler(void); | 49 | extern void low_sleep_handler(void); |