From: broonie@kernel.org (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: bcm: Don't build brcmstb SMP code when building for V6
Date: Thu, 21 Aug 2014 21:06:34 -0500 [thread overview]
Message-ID: <1408673194-16228-1-git-send-email-broonie@kernel.org> (raw)
From: Mark Brown <broonie@linaro.org>
The brcmstb SMP code contains isb() and dsb() which are not supported when
building for -march=armv6 as happens when building allmodconfig. Since I
have not been able to identify a way to override the compiler architecture
selection per file add a Kconfig dependency to ensure this code is not
built if V6 support is enabled.
There is doubtless a better solution.
Signed-off-by: Mark Brown <broonie@linaro.org>
---
arch/arm/mach-bcm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index fc93800..372132d 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -102,6 +102,7 @@ config ARCH_BCM_5301X
config ARCH_BRCMSTB
bool "Broadcom BCM7XXX based boards" if ARCH_MULTI_V7
depends on MMU
+ depends on !CPU_V6
select ARM_GIC
select MIGHT_HAVE_PCI
select HAVE_SMP
--
2.1.0.rc1
next reply other threads:[~2014-08-22 2:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 2:06 Mark Brown [this message]
2014-08-22 5:09 ` [PATCH] ARM: bcm: Don't build brcmstb SMP code when building for V6 Brian Norris
2014-08-22 14:44 ` Mark Brown
2014-08-25 17:27 ` Brian Norris
2014-08-26 10:54 ` Arnd Bergmann
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=1408673194-16228-1-git-send-email-broonie@kernel.org \
--to=broonie@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).