From patchwork Mon Oct 19 06:14:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11843617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C13321580 for ; Mon, 19 Oct 2020 06:14:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D0C420708 for ; Mon, 19 Oct 2020 06:14:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="mvUG9dj6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgJSGOv (ORCPT ); Mon, 19 Oct 2020 02:14:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbgJSGOv (ORCPT ); Mon, 19 Oct 2020 02:14:51 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45E58C061755; Sun, 18 Oct 2020 23:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=fTtha486nmU3JfzvFGVWTw5Gr8n1FWF280/B5ZiqWwI=; b=mvUG9dj6nxZOMxFYLdjbyMF7/i K8VvUt63za6/ar2z/aTECQlN4f6RV2yoXUDF8F+EQnfCwT07pCAaYZTRHM6jf1BKNOPNIF+2YOTLN lXMMZuoBj4IzbosFScdr2ZeXk2KVS/H437w8+m6BmrjkaIMYJDsj65M/hZHYLZfogXd/tkWhMhPb3 xPaG9Vej738SI5mWMW6SrX2rQ9orgyuLPai7fZMYdXL4OpA01hvtlBvOIpkjSkNPlEISNMJHvIZml xbSQaAFC0ZPH6ZUYSH8JFxoK7/tFZLJuKM5Kifh6BsXWXe7UXdTpoXsMSyCI3M7WaZciFr0V13AUK RIupb/zg==; Received: from [2601:1c0:6280:3f0::507c] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUORR-0001BD-Or; Mon, 19 Oct 2020 06:14:46 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Thomas Bogendoerfer , Paul Burton , linux-mips@vger.kernel.org Subject: [PATCH] mips: export spurious_interrupt() to fix MFD build error Date: Sun, 18 Oct 2020 23:14:39 -0700 Message-Id: <20201019061439.10571-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Fix a build error in drivers/mfd/ioc3.o by exporting spurious_interrupt(). ERROR: modpost: "spurious_interrupt" [drivers/mfd/ioc3.ko] undefined! Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: Paul Burton Cc: linux-mips@vger.kernel.org --- arch/mips/kernel/irq.c | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20201016.orig/arch/mips/kernel/irq.c +++ linux-next-20201016/arch/mips/kernel/irq.c @@ -10,6 +10,7 @@ */ #include #include +#include #include #include #include @@ -48,6 +49,7 @@ asmlinkage void spurious_interrupt(void) { atomic_inc(&irq_err_count); } +EXPORT_SYMBOL(spurious_interrupt); void __init init_IRQ(void) {