]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[POWERPC] Fix PMI breakage in cbe_cbufreq driver
authorChristian Krafft <krafft@de.ibm.com>
Thu, 28 Jun 2007 11:14:38 +0000 (21:14 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 2 Jul 2007 00:35:58 +0000 (10:35 +1000)
commitee5d1b7f2a01ce4d95ca247b5a499b72f31cdbe8
tree5769b466511cd7b8dad86686b6c60da7faa50507
parent86affd5a00a92e491e5f00ed659492767519fdf7
[POWERPC] Fix PMI breakage in cbe_cbufreq driver

The recent change to cell_defconfig to enable cpufreq on Cell exposed
the fact that the cbe_cpufreq driver currently needs the PMI interface
code to compile, but Kconfig doesn't make sure that the PMI interface
code gets built if cbe_cpufreq is enabled.

In fact cbe_cpufreq can work without PMI, so this ifdefs out the code
that deals with PMI.  This is a minimal solution for 2.6.22; a more
comprehensive solution will be merged for 2.6.23.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/cbe_cpufreq.c