From patchwork Tue Sep 2 15:24:52 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: 4826661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4A4D29F32F for ; Tue, 2 Sep 2014 15:32:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31DCF201BC for ; Tue, 2 Sep 2014 15:32:51 +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 A381920160 for ; Tue, 2 Sep 2014 15:32:49 +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 1XOq1v-00082v-9t; Tue, 02 Sep 2014 15:29:59 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOq1s-0007e1-GU for linux-arm-kernel@lists.infradead.org; Tue, 02 Sep 2014 15:29:57 +0000 MIME-version: 1.0 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBA00JD05PAQE10@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2014 00:29:34 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 13.CF.04442.E52E5045; Wed, 03 Sep 2014 00:29:34 +0900 (KST) X-AuditID: cbfee690-f79ce6d00000115a-3d-5405e25e25ae Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 97.79.04943.E52E5045; Wed, 03 Sep 2014 00:29:34 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBA001UB5OO9XA0@mmp2.samsung.com>; Wed, 03 Sep 2014 00:29:34 +0900 (KST) From: Naveen Krishna Chatradhi To: linux-kernel@vger.kernel.org Subject: [PATCH] irqchip: exynos-combiner: Fix compilation error on ARM64 Date: Tue, 02 Sep 2014 20:54:52 +0530 Message-id: <1409671492-7725-1-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsWyRsSkRjfuEWuIwZ8zQhabHl9jtbi8aw6b xYzz+5gsFm37z2yxedNUZgdWj52z7rJ7vDt3jt1j85J6j8+b5AJYorhsUlJzMstSi/TtErgy 7r+5y1Qwm7tix5xW5gbG05xdjJwcEgImEruf32KEsMUkLtxbz9bFyMUhJLCUUeLT/c0sMEUn 2vtYIBLTgRJT+8A6eAUEJX5MvgeU4OBgFpCXOHIpGyTMLKAuMWneImaI+n4miSm/VjODJNgE zCQOLlrNDmKLCChIbO59xgpSxCzQzyjx9+B6RpBBwgKeEh+OJIDUsAioSux9cpIZYpeLxI+W lWwgJRJAvXMm2YC0SggsYpe4+vc+M0S9gMS3yYdYIGpkJTYdYIa4X1Li4IobLBMYRWYhuXoW wtWzkFy9gJF5FaNoakFyQXFSepGJXnFibnFpXrpecn7uJkZgjJz+92zCDsZ7B6wPMQpwMCrx 8Er8YAkRYk0sK67MPcRoCnTERGYp0eR8YCTmlcQbGpsZWZiamBobmVuaKYnzvpb6GS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nfpLwr02OV+eu9eGcp3dRUDYpsWnGUyWW4oxEQy3mouJEALxl fpjWAgAA 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_082956_696049_57B8220C X-CRM114-Status: UNSURE ( 7.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.7 (------) Cc: naveenkrishna.ch@gmail.com, Thomas Gleixner , linux-samsung-soc@vger.kernel.org, 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 asm/hardirq.h. Signed-off-by: Naveen Krishna Chatradhi Cc: Thomas Gleixner --- drivers/irqchip/exynos-combiner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c index f8636a6..7fbedcc 100644 --- a/drivers/irqchip/exynos-combiner.c +++ b/drivers/irqchip/exynos-combiner.c @@ -18,6 +18,8 @@ #include #include +#include + #include "irqchip.h" #define COMBINER_ENABLE_SET 0x0