From patchwork Thu May 12 21:03:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 621749 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r5QTy0tmrz9t7G for ; Fri, 13 May 2016 07:04:38 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0xme-0005nG-JA; Thu, 12 May 2016 21:04:36 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0xmb-0005cx-OX for linux-snps-arc@lists.infradead.org; Thu, 12 May 2016 21:04:34 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lz2oK-1beKvZ2noW-014C3H; Thu, 12 May 2016 23:04:01 +0200 From: Arnd Bergmann To: Jason Cooper Subject: [PATCH] irqchip: nps: add 64BIT dependency Date: Thu, 12 May 2016 23:03:35 +0200 Message-Id: <1463087038-2522527-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:0Fmch6ALb9o6yujFlPN+fLe022JhGNW2nt8YVpSMqCk2f4w8iF/ no9WQxKx2fMwoptWzd1LdmKEsN4LOC9gXcy9vP2OxBtKWUO97FAqN6hxXhEF+fz17HQRwnn kioB9s2D4WWBlZN2ato7ZrLllAtTt5w0ACvZDNV0vidx2qdFaR5cCl3uq4AvgvCHyN+LdCg /E5jVEsDOLLGCHH3XaRwg== X-UI-Out-Filterresults: notjunk:1; V01:K0:UWobfkrkAKU=:C1ZlvYH8768pfBuR4vy0S6 TI62hmq2Zmg+52BA5EBBgF65L186kSWHIfE5ErXY58EpLJ1b0lSqzEwur9cHZ+sS86waXHaYv ByjxrbuIk1OHYhhT1KIGJ1kirKP3DOcysS1RRdo3w3axsflktDER6JAD1MQYplX9rHe5fuCdq hYG9VjBqbgL5cMtQbXo4ufBZwZ3d9nn1MEr1Z8F46Yhy0MQrDaoQ8UoLifJyYrZ8AS6LIPchy jDiwqRdogLEP65gzR/hMfSMpYXjsFCFcrVD/NiyDKdn2KhCt80PUmoUyG0sy6XEzj1xeNVtdC r6FhVircaFaglCaazGZ1avuhYKdRroxHq03cxb17sAonIbjsHzbLpdZFrOsaKnM3NKC9/Sj/F D0an/kr34EvC3aNsUxW19WDNdiSS7xpeZnux9s0qJWs4L7Zb71GkCHf61p+BRNWZwRm+MvLlr FzlynL33YCOUHBlAfsDO2L0hlcglVTLstxMF5zou5WNoqd5xWZadHTUcJfNPHyN5CJI1S8XhL 07t61uxsuYlNR1XGy5W8LGTWMnSqY3hRbtF7YVm1gdSAeR1a+DHqBF1h02CUWWz92YUZyqo7Q 20guE4npxk16qQrTatJqjPSjqVwal+ACwQI30+mQqFddatmKjYvZItXUo/ZikL6Ked48cYotS QjaXBXcQhXX9QB1xGFW2UhyClzooXvCCPd5YPl+aqBtXxLOYxX262LDZ0BHkW2Cj34L4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160512_140434_161828_28E291C7 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.24 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.24 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Marc Zyngier , Vineet Gupta , linux-kernel@vger.kernel.org, Noam Camus , Thomas Gleixner , linux-snps-arc@lists.infradead.org MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The newly added nps irqchip driver causes build warnings on ARM64. include/soc/nps/common.h: In function 'nps_host_reg_non_cl': include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] As the driver is only used on ARC, we don't need to see it without COMPILE_TEST elsewhere, and we can avoid the warnings by only building on 32-bit architectures even with CONFIG_COMPILE_TEST. Signed-off-by: Arnd Bergmann Acked-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 83775f148158..37289cf6b449 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -253,6 +253,7 @@ config MVEBU_ODMI config EZNPS_GIC bool "NPS400 Global Interrupt Manager (GIM)" + depends on ARC || (COMPILE_TEST && !64BIT) select IRQ_DOMAIN help Support the EZchip NPS400 global interrupt controller