All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de
To: paulus@samba.org
Cc: linuxppc-dev@ozlabs.org, cbe-oss-dev@ozlabs.org
Subject: [patch 1/2] powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
Date: Mon, 22 Dec 2008 22:34:25 +0100	[thread overview]
Message-ID: <20081222214108.168571344@arndb.de> (raw)
In-Reply-To: <18765.58426.49381.986612@cargo.ozlabs.ibm.com>

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
 
-- 
1.5.6.3

-- 

  parent reply	other threads:[~2008-12-22 21:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-21  6:37 Commits added to powerpc.git next and master branches Paul Mackerras
2008-12-21  9:07 ` Grant Likely
2008-12-21  9:32   ` Benjamin Herrenschmidt
2008-12-21  9:34     ` Grant Likely
2008-12-21  9:40     ` Benjamin Herrenschmidt
2008-12-21 10:02       ` Grant Likely
2008-12-21 10:01 ` Grant Likely
2008-12-21 10:47   ` Paul Mackerras
2008-12-25  7:26   ` Wolfram Sang
2008-12-22 21:34 ` [patch 0/2] please pull from cell next branch arnd
2008-12-22 21:34 ` arnd [this message]
2008-12-22 21:34 ` [patch 2/2] powerpc/cell: add QPACE as a separate Cell platform arnd
2008-12-23 13:20 ` Commits added to powerpc.git next and master branches Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081222214108.168571344@arndb.de \
    --to=arnd@arndb.de \
    --cc=cbe-oss-dev@ozlabs.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.