From patchwork Thu Jul 21 21:17:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 12925789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8F5DC433EF for ; Thu, 21 Jul 2022 21:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fkDFeb9r3GJVU8iOMf8rAly4XMCSSo+OI2D5uYS6/kI=; b=Ph7/yYxw8W33Dn Xd2N3ILnAzmQwUzXsqcA9vPqgfOaKLz1h0XSjzc1D4vE9SsnzHSC16c+AhQJ1kXrGM33D5v7P40Af WRyazoAW4WVg5SgZhfnKtLBgjpq/2oIpHzrdGvDVuUOOGennOBGUPNprqaC1IzUbRbemsFK4WmQ4M LMDmjXnKRlObn3RiQPIRHsIwZiX6IoxpgI0Glki5Me974iY5PVhNAA+Wp7QlIIYfMKe+pF/W9qoc/ T/ryXwztF6KnSyNrd2XteGFQKv/L9+S2q9Uwx4dizvBJ2U+hbEKIaMKQi8AobW+W5tJ+/bAfdYTH7 +nsTmyypP29On4VM3swg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEdYc-00CONF-W7; Thu, 21 Jul 2022 21:18:07 +0000 Received: from cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net ([86.15.83.122] helo=luna) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEdY9-00COFU-UA for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 21:17:40 +0000 Received: from ben by luna with local (Exim 4.96) (envelope-from ) id 1oEdY2-001tWO-2j; Thu, 21 Jul 2022 22:17:30 +0100 From: Ben Dooks To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux@armlinux.org.uk, Ben Dooks Subject: [PATCH 1/3] arm: add definition of arch_irq_work_raise() Date: Thu, 21 Jul 2022 22:17:27 +0100 Message-Id: <20220721211729.451731-2-ben-linux@fluff.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220721211729.451731-1-ben-linux@fluff.org> References: <20220721211729.451731-1-ben-linux@fluff.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_141737_996413_C26F078D X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The arm does not define arch_irq_work_raise() so is triggering the following sparse warning. Add a definiton to fix this: kernel/irq_work.c:70:13: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static? arch/arm/kernel/smp.c:582:6: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static? Signed-off-by: Ben Dooks --- arch/arm/include/asm/irq_work.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/irq_work.h b/arch/arm/include/asm/irq_work.h index 8895999834cc..3149e4dc1b54 100644 --- a/arch/arm/include/asm/irq_work.h +++ b/arch/arm/include/asm/irq_work.h @@ -9,4 +9,6 @@ static inline bool arch_irq_work_has_interrupt(void) return is_smp(); } +extern void arch_irq_work_raise(void); + #endif /* _ASM_ARM_IRQ_WORK_H */