From: Geert Uytterhoeven Date: Fri, 23 Mar 2007 13:06:43 +0000 (+0100) Subject: [POWERPC] CBE thermal support on PS3 X-Git-Tag: v2.6.22-rc1~1109^2~109 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=28066ae91b2050d79531a6f2d5e35dd8f666bafd;p=linux-2.6-omap-h63xx.git [POWERPC] CBE thermal support on PS3 I wanted to enable CBE_THERM on PS3. So I had to enable CBE_RAS first. But the resulting kernel doesn't link, as cbe_regs.c isn't compiled for non-PPC_CELL_NATIVE. CBE_RAS should depend on PPC_CELL_NATIVE; this makes it so. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig index 53913a26ef4..82551770917 100644 --- a/arch/powerpc/platforms/cell/Kconfig +++ b/arch/powerpc/platforms/cell/Kconfig @@ -41,6 +41,7 @@ config SPU_BASE config CBE_RAS bool "RAS features for bare metal Cell BE" + depends on PPC_CELL_NATIVE default y config CBE_THERM