powerpc/cell/cpufreq: add spu aware cpufreq governor

Arnd Bergmann arnd at arndb.de
Tue Jul 15 23:02:00 EST 2008


On Wednesday 09 July 2008, Dave Jones wrote:
> 
> diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
> index 3959fcf..19f4b4d 100644
> --- a/arch/powerpc/platforms/cell/Kconfig
> +++ b/arch/powerpc/platforms/cell/Kconfig
> @@ -91,6 +91,7 @@ config CBE_THERM
>  config CBE_CPUFREQ
>         tristate "CBE frequency scaling"
>         depends on CBE_RAS && CPU_FREQ
> +       select CPU_FREQ_TABLE
>         default m
>         help
>           This adds the cpufreq driver for Cell BE processors.

I found the problem now, there was an incorrect 'select CBE_CPUFREQ'
in the spudemand governor, but no 'depends on CPUFREQ', so it was
possible to build CBE_CPUFREQ without the base CPUFREQ support.

Fixed in the current version, will post later.

	Arnd <><



More information about the Linuxppc-dev mailing list