From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH] irqchip: exynos-combiner: Fix compilation error on ARM64 Date: Tue, 02 Sep 2014 17:00:08 +0100 Message-ID: <5405E988.7050707@arm.com> References: <1409671492-7725-1-git-send-email-ch.naveen@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from service87.mimecast.com ([91.220.42.44]:33371 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754206AbaIBP7X convert rfc822-to-8bit (ORCPT ); Tue, 2 Sep 2014 11:59:23 -0400 In-Reply-To: <1409671492-7725-1-git-send-email-ch.naveen@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Naveen Krishna Chatradhi , "linux-kernel@vger.kernel.org" Cc: Sudeep Holla , "naveenkrishna.ch@gmail.com" , Thomas Gleixner , "linux-samsung-soc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" On 02/09/14 16:24, Naveen Krishna Chatradhi wrote: > The following compilation error occurs on 64-bit Exynos7 SoC: > > drivers/irqchip/exynos-combiner.c: In function =E2=80=98combiner_irq_= domain_map=E2=80=99: > drivers/irqchip/exynos-combiner.c:162:2: error: implicit declaration = of function =E2=80=98set_irq_flags=E2=80=99 [-Werror=3Dimplicit-functio= n-declaration] > set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); > ^ > drivers/irqchip/exynos-combiner.c:162:21: error: =E2=80=98IRQF_VALID=E2= =80=99 undeclared (first use in this function) > set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); > ^ > drivers/irqchip/exynos-combiner.c:162:21: note: each undeclared ident= ifier is reported only once for each function it appears in > drivers/irqchip/exynos-combiner.c:162:34: error: =E2=80=98IRQF_PROBE=E2= =80=99 undeclared (first use in this function) > set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); > > Fix the build error by including asm/hardirq.h. > You should avoid using asm headers whenever possible esp. in driver code. linux/hardirq.h or much better linux/interrupt.h should fix this error. Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Tue, 02 Sep 2014 17:00:08 +0100 Subject: [PATCH] irqchip: exynos-combiner: Fix compilation error on ARM64 In-Reply-To: <1409671492-7725-1-git-send-email-ch.naveen@samsung.com> References: <1409671492-7725-1-git-send-email-ch.naveen@samsung.com> Message-ID: <5405E988.7050707@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 02/09/14 16:24, Naveen Krishna Chatradhi wrote: > 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. > You should avoid using asm headers whenever possible esp. in driver code. linux/hardirq.h or much better linux/interrupt.h should fix this error. Regards, Sudeep