[POWERPC] CBE thermal support on PS3
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 23 Mar 2007 13:06:43 +0000 (14:06 +0100)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:15 +0000 (03:55 +1000)
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 <Geert.Uytterhoeven@sonycom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/Kconfig

index 53913a2..8255177 100644 (file)
@@ -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