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: 4826611 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 5CDE99F32F for ; Tue, 2 Sep 2014 15:29:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89B18201BC for ; Tue, 2 Sep 2014 15:29:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5172620154 for ; Tue, 2 Sep 2014 15:29:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753720AbaIBP3h (ORCPT ); Tue, 2 Sep 2014 11:29:37 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:13134 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbaIBP3g (ORCPT ); Tue, 2 Sep 2014 11:29:36 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 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>; 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) Content-transfer-encoding: 8BIT 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 Cc: naveenkrishna.ch@gmail.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Thomas Gleixner 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 8Er8YAkRYk0sK67MPcRoCnTERGYp0eR8YCTmlcQbGpsZWZiamBobmVuaKYnzvpb6GSwkkJ5Y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V+eu9eGcp3dRUDYpsWnGUyWW4oxEQy3mouJEALxl fpjWAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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