powerpc/cell: fix build breakage with CONFIG_SPUFS disabled

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, December 28, 2008 - 6:05 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e68558...
Commit:     e68558ddcdbfa8cc2e7811bcada3bcbeef79fd4a
Parent:     418441d9ebe84b205cb23eb0ab214c1f991621fe
Author:     Arnd Bergmann <arnd@arndb.de>
AuthorDate: Mon Dec 22 22:08:26 2008 +0100
Committer:  Arnd Bergmann <arnd@arndb.de>
CommitDate: Mon Dec 22 22:08:26 2008 +0100

    powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
    
    CBE_THERM and OPROFILE_CELL both cannot be built without
    SPU_FS disabled, so make the dependency explicit.
    
    Reported-by: Milton Miller <miltonm@bga.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/powerpc/platforms/cell/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index c14d7d8..617f845 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -102,7 +102,7 @@ config PPC_IBM_CELL_POWERBUTTON
 config CBE_THERM
 	tristate "CBE thermal support"
 	default m
-	depends on CBE_RAS
+	depends on CBE_RAS && SPU_BASE
 
 config CBE_CPUFREQ
 	tristate "CBE frequency scaling"
@@ -136,5 +136,5 @@ endmenu
 
 config OPROFILE_CELL
 	def_bool y
-	depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y)
+	depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
powerpc/cell: fix build breakage with CONFIG_SPUFS disabled, Linux Kernel Mailing ..., (Sun Dec 28, 6:05 pm)