diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-06-03 10:37:56 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-06-03 10:55:36 -0400 |
commit | 41dd496c8d9f622efff2c3b92ee308e13f58f639 (patch) | |
tree | 775f4afed8e360bb471f0a334ec4e9779ac11226 /arch/tile/Kconfig | |
parent | 47ad7b9bbeaac34e43d9dc8db796f1f68194b9ad (diff) | |
download | linux-41dd496c8d9f622efff2c3b92ee308e13f58f639.tar.gz linux-41dd496c8d9f622efff2c3b92ee308e13f58f639.tar.bz2 linux-41dd496c8d9f622efff2c3b92ee308e13f58f639.zip |
tile: force CONFIG_TILEGX if ARCH != tilepro
This allows configuring with allnoconfig (for tilegx) or allyesconfig
(for tilepro) without creating an unbuildable configuration.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r-- | arch/tile/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index bcc7d66976f1..775db82afd3f 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig @@ -127,8 +127,10 @@ config HVC_TILE select HVC_IRQ if TILEGX def_bool y +# Building with ARCH=tilegx (or ARCH=tile) implies using the +# 64-bit TILE-Gx toolchain, so force CONFIG_TILEGX on. config TILEGX - bool "Building for TILE-Gx (64-bit) processor" + def_bool ARCH != "tilepro" select SPARSE_IRQ select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ select HAVE_FUNCTION_TRACER |