]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Remove SMP warning from PowerMac cpufreq
authorBastian Blank <bastian@waldi.eu.org>
Wed, 12 Aug 2009 23:30:45 +0000 (23:30 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:23:04 +0000 (16:23 -0800)
commit781e844b1db70e0fe4911fa049e675a010d79cf9
treefed6fd9135fcbe76b6017da3ee369fbbcf77e246
parent73d1f971858ae19b7b755f244b025dd4ddbfe860
powerpc: Remove SMP warning from PowerMac cpufreq

commit 6fdc31a2b86cf1f98e3eed896578ad9659eeb0f8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/powermac/cpufreq_32.c