summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/Makefile
diff options
context:
space:
mode:
authorChristian Krafft <krafft@de.ibm.com>2008-07-16 05:51:43 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 10:39:31 +1000
commit880e710580c09bf86cddac687fc492a8318934fe (patch)
tree96df30fa63b986bf6b8ef63febfaaba8bc80ee80 /arch/powerpc/platforms/cell/Makefile
parent8204cba7fa0ca0752fdaec021dae2634788178aa (diff)
downloadop-kernel-dev-880e710580c09bf86cddac687fc492a8318934fe.zip
op-kernel-dev-880e710580c09bf86cddac687fc492a8318934fe.tar.gz
powerpc/cell/cpufreq: Add spu aware cpufreq governor
This patch adds a cpufreq governor that takes the number of running spus into account. It's very similar to the ondemand governor, but not as complex. Instead of hacking spu load into the ondemand governor it might be easier to have cpufreq accepting multiple governors per cpu in future. Don't know if this is the right way, but it would keep the governors simple. Signed-off-by: Christian Krafft <krafft@de.ibm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Dave Jones <davej@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/Makefile')
-rw-r--r--arch/powerpc/platforms/cell/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile
index c2a7e4e..7fcf09b 100644
--- a/arch/powerpc/platforms/cell/Makefile
+++ b/arch/powerpc/platforms/cell/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
obj-$(CONFIG_CBE_CPUFREQ_PMI) += cbe_cpufreq_pmi.o
obj-$(CONFIG_CBE_CPUFREQ) += cbe-cpufreq.o
cbe-cpufreq-y += cbe_cpufreq_pervasive.o cbe_cpufreq.o
+obj-$(CONFIG_CBE_CPUFREQ_SPU_GOVERNOR) += cpufreq_spudemand.o
ifeq ($(CONFIG_SMP),y)
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
OpenPOWER on IntegriCloud