From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754796AbbFCOno (ORCPT ); Wed, 3 Jun 2015 10:43:44 -0400 Received: from mail-am1on0060.outbound.protection.outlook.com ([157.56.112.60]:12928 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754766AbbFCOng (ORCPT ); Wed, 3 Jun 2015 10:43:36 -0400 Authentication-Results: spf=fail (sender IP is 12.216.194.146) smtp.mailfrom=ezchip.com; infradead.org; dkim=none (message not signed) header.d=none; From: Chris Metcalf To: CC: Chris Metcalf , Fengguang Wu , Jason Low , Peter Zijlstra Subject: [PATCH] tile: force CONFIG_TILEGX if ARCH != tilepro Date: Wed, 3 Jun 2015 10:43:16 -0400 Message-ID: <1433342596-11041-1-git-send-email-cmetcalf@ezchip.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <20150602091210.GV19282@twins.programming.kicks-ass.net> References: <20150602091210.GV19282@twins.programming.kicks-ass.net> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;DB3FFO11FD042;1:H+gmRZQrN5UhwNm2bhwkqSou0LOwQdniFCiRikhEDVw5sSFN6SUUhUuA0her5/WNSb/aXzsGORQTsA8meAXi3vv4Xe8cOarq2aaDN19ojLURTj607EC6v5lqbD+WxA6x5tdWiSY+TY/tHVu0wFd1it490ElSNywBBl678jg7YfsQSBUAWbUZStQE3X3MN696WACxxRBFOTEm8VQC4EFYdm0D5iEkYzx6RK4+WuPIn4dYypJ9X7ru3p+Pt0175tW5tUfV5iARlpDpaf5w5r58pZBtwanUV+U2dlP/6aTPCmZoRkD5C/eEKL75FHO9Ol4vEo0ahZ7wCsF+WuXj/GwSQw== X-Forefront-Antispam-Report: CIP:12.216.194.146;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(189002)(199003)(87936001)(5001830100001)(4001540100001)(85426001)(2950100001)(5001860100001)(33646002)(104016003)(189998001)(62966003)(77156002)(97736004)(110136002)(5001960100002)(50466002)(105606002)(48376002)(36756003)(50986999)(81156007)(68736005)(64706001)(2351001)(106476002)(42186005)(106466001)(6806004)(19580395003)(86362001)(76176999)(19580405001)(92566002)(46102003)(106356001)(50226001)(47776003)(229853001)(9376004)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR02MB0776;H:ld-1.internal.tilera.com;FPR:;SPF:Fail;PTR:InfoNoRecords;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR02MB0776; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:DB5PR02MB0776;BCL:0;PCL:0;RULEID:;SRVR:DB5PR02MB0776; X-Forefront-PRVS: 05961EBAFC X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2015 14:43:31.4272 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3;Ip=[12.216.194.146];Helo=[ld-1.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR02MB0776 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This allows configuring with allnoconfig (for tilegx) or allyesconfig (for tilepro) without creating an unbuildable configuration. Suggested-by: Peter Zijlstra Signed-off-by: Chris Metcalf --- arch/tile/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.1.2