From patchwork Wed Sep 3 05:32:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 4830651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BF111C0338 for ; Wed, 3 Sep 2014 05:41:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B60EA201FB for ; Wed, 3 Sep 2014 05:41:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B3FD520204 for ; Wed, 3 Sep 2014 05:41:24 +0000 (UTC) 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 1XP3Fg-0006gr-B1; Wed, 03 Sep 2014 05:37:04 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XP3Fc-0006e1-Tw for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2014 05:37:01 +0000 MIME-version: 1.0 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBB00JNJ8X1AWD0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2014 14:36:37 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 8C.15.04049.4E8A6045; Wed, 03 Sep 2014 14:36:37 +0900 (KST) X-AuditID: cbfee68e-f79536d000000fd1-56-5406a8e4a99c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C9.3F.04943.4E8A6045; Wed, 03 Sep 2014 14:36:36 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBB00LBQ8WUI3B0@mmp1.samsung.com>; Wed, 03 Sep 2014 14:36:36 +0900 (KST) From: Naveen Krishna Chatradhi To: linux-kernel@vger.kernel.org Subject: [PATCH v2] irqchip: exynos-combiner: Fix compilation error on ARM64 Date: Wed, 03 Sep 2014 11:02:09 +0530 Message-id: <1409722329-18309-1-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42JZI2JSq/t0BVuIwcnZzBaNSy6zWGx6fI3V 4vKuOWwWM87vY7JYtO0/s8XyUztYLDZvmsrswO6xZt4aRo+ds+6yezQcOM/i8e7cOXaPzUvq PT5vkgtgi+KySUnNySxLLdK3S+DKWDz3PGvBHZ6Kq68vMzcw/uDqYuTkkBAwkbg5/yQThC0m ceHeerYuRi4OIYGljBLXJuxjgilqP3GPHSKxiFHi1qTlrCAJXgFBiR+T77F0MXJwMAvISxy5 lA0SZhZQl5g0bxEzRH0/k8S0hjdsIAk2ATOJg4tWs4PYIgIKEpt7n7GCFDEL3GaU2NmwFmyb sICPxNYNa1hAbBYBVYmVTU/ZIZa5Sux92MYGskwCqHnOJBuQXgmBQ+wSt7/8ZoeoF5D4NvkQ C0SNrMSmA8wQD0hKHFxxg2UCo8gsJGfPQjh7FpKzFzAyr2IUTS1ILihOSi8y0itOzC0uzUvX S87P3cQIjKbT/5717WC8ecD6EKMAB6MSD++CALYQI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/XX/T2FPuYl8bNeifL2G631qruYLsyg9HgnMyP iwUKvxb/uSq4zFVCbWLn4qNtnocLfE/KfC6f+THiQM1VN6aMw4G75rjvm7Pj0P2cb5qXV6Q+ Pn7K3ofF2lCJpTgj0VCLuag4EQBPxeyr6wIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140902_223701_107059_C4C62A62 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.7 (------) Cc: linux-samsung-soc@vger.kernel.org, Jason Cooper , Sudeep Holla , naveenkrishna.ch@gmail.com, Thomas Gleixner , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following compilation error occurs on 64-bit Exynos7 SoC: drivers/irqchip/exynos-combiner.c: In function ‘combiner_irq_domain_map’: drivers/irqchip/exynos-combiner.c:162:2: error: implicit declaration of function ‘set_irq_flags’ [-Werror=implicit-function-declaration] set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); ^ drivers/irqchip/exynos-combiner.c:162:21: error: ‘IRQF_VALID’ undeclared (first use in this function) set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); ^ drivers/irqchip/exynos-combiner.c:162:21: note: each undeclared identifier is reported only once for each function it appears in drivers/irqchip/exynos-combiner.c:162:34: error: ‘IRQF_PROBE’ undeclared (first use in this function) set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); Fix the build error by including linux/interrupt.h. Signed-off-by: Naveen Krishna Chatradhi Cc: Thomas Gleixner Cc: Jason Cooper Cc: Sudeep Holla --- Changes since v1: Used linux/interrupt.h instead of asm/hardirq.h drivers/irqchip/exynos-combiner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c index f8636a6..5945223 100644 --- a/drivers/irqchip/exynos-combiner.c +++ b/drivers/irqchip/exynos-combiner.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include