From patchwork Thu Aug 21 23:31:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 4760161 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 A11D49F344 for ; Thu, 21 Aug 2014 23:34:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD1032018B for ; Thu, 21 Aug 2014 23:34:29 +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 F3FB22018A for ; Thu, 21 Aug 2014 23:34:28 +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 1XKbpv-00072H-Sp; Thu, 21 Aug 2014 23:32:07 +0000 Received: from smtp6-g21.free.fr ([212.27.42.6]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XKbpr-00071c-NX for linux-arm-kernel@lists.infradead.org; Thu, 21 Aug 2014 23:32:05 +0000 Received: from romuald.bergerie (unknown [88.178.86.202]) by smtp6-g21.free.fr (Postfix) with ESMTP id 1D6E78225E; Fri, 22 Aug 2014 01:31:32 +0200 (CEST) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with SMTP id CF54E4A5BF3; Fri, 22 Aug 2014 01:31:30 +0200 (CEST) Received: by radicelle.bergerie (sSMTP sendmail emulation); Fri, 22 Aug 2014 01:31:30 +0200 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= To: linux-next@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH linux-next] irq: export handle_fasteoi_irq Date: Fri, 22 Aug 2014 01:31:20 +0200 Message-Id: <1408663880-29179-1-git-send-email-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.1.0.rc1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140821_163203_913286_8BB367D7 X-CRM114-Status: GOOD ( 10.51 ) X-Spam-Score: 0.9 (/) Cc: Lars-Peter Clausen , Linus Walleij , linux-kernel@vger.kernel.org, =?UTF-8?q?Vincent=20Stehl=C3=A9?= , 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 Export handle_fasteoi_irq to be able to use it in e.g. the Zynq gpio driver since commit 6dd859508336 ("gpio: zynq: Fix IRQ handlers"). This fixes the following link issue: ERROR: "handle_fasteoi_irq" [drivers/gpio/gpio-zynq.ko] undefined! Signed-off-by: Vincent Stehlé Cc: Thomas Gleixner Cc: Lars-Peter Clausen Cc: Linus Walleij Acked-by: Arnd Bergmann --- Hi, This can be seen in Linux next-20140822 with e.g. arm allmodconfig. Zync gpio seems to be the first code to use handle_fasteoi_irq, which can be compiled as a module. Best regards, V. kernel/irq/chip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index a2b28a2..6223fab 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -517,6 +517,7 @@ out: chip->irq_eoi(&desc->irq_data); raw_spin_unlock(&desc->lock); } +EXPORT_SYMBOL_GPL(handle_fasteoi_irq); /** * handle_edge_irq - edge type IRQ handler