From patchwork Wed May 22 09:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philippe Mazenauer X-Patchwork-Id: 10955361 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C428413AD for ; Wed, 22 May 2019 09:18:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B570028A0B for ; Wed, 22 May 2019 09:18:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9CC928ACB; Wed, 22 May 2019 09:18:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,MALFORMED_FREEMAIL, MISSING_HEADERS,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4192928A0B for ; Wed, 22 May 2019 09:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:Message-ID:Date :Subject:From:Reply-To:To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8bsAztPQKqP+89y9SVA0OHea02Txz1qdltJwxC9zYds=; b=LLCFCzGaYjdcur Slfzzl5uX7DBB7Vp6rSUYexd/MHc+svst2ujLDtdZ8prePAFWssQrsSZrt5c/V6z79FdrlsfxqznD wMFrNtQQL/ajhrZPDeqlztdavz0gKWc3yM5+HfDOkBLhydNikFEr2AWGQVIXFGOycggBkFcfvrbok dFD6ldVqs29UP2ZLdcx/Gg3IO3TDLT3s81bIb9sXTx8EQpXjOlwJiZYvHhXZVECUeAyFUIQMdh3ag EuksuFACaoaSHc3JbxhF4Gdpo0j2HYxLb63aqofkoxrhE8ZTRoQVS4Q/IHtBxWxIpQ6/C+EUXWB8l XVHRPvhPccGSAkbon0rw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTNO8-0000Xd-Pw; Wed, 22 May 2019 09:18:20 +0000 Received: from mail-ve1eur03olkn081f.outbound.protection.outlook.com ([2a01:111:f400:fe09::81f] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTNO5-0000XA-Bx for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2019 09:18:18 +0000 Received: from VE1EUR03FT047.eop-EUR03.prod.protection.outlook.com (10.152.18.56) by VE1EUR03HT069.eop-EUR03.prod.protection.outlook.com (10.152.19.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1900.16; Wed, 22 May 2019 09:18:14 +0000 Received: from VI1PR07MB4432.eurprd07.prod.outlook.com (10.152.18.55) by VE1EUR03FT047.mail.protection.outlook.com (10.152.19.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16 via Frontend Transport; Wed, 22 May 2019 09:18:14 +0000 Received: from VI1PR07MB4432.eurprd07.prod.outlook.com ([fe80::91f:b1bb:a60a:fdc3]) by VI1PR07MB4432.eurprd07.prod.outlook.com ([fe80::91f:b1bb:a60a:fdc3%7]) with mapi id 15.20.1922.013; Wed, 22 May 2019 09:18:14 +0000 From: Philippe Mazenauer Subject: [PATCH] arm: Add missing method to asm/irq_work.h Thread-Topic: [PATCH] arm: Add missing method to asm/irq_work.h Thread-Index: AQHVEH9I7QiDXzMhvECKeuN2C3td2w== Date: Wed, 22 May 2019 09:18:14 +0000 Message-ID: Accept-Language: de-CH, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR1601CA0012.namprd16.prod.outlook.com (2603:10b6:300:da::22) To VI1PR07MB4432.eurprd07.prod.outlook.com (2603:10a6:802:67::17) x-incomingtopheadermarker: OriginalChecksum:7B409564C77F1D2A3E110E6EF3E316457909D8473D11FEF52362CAD2EC26832E; UpperCasedChecksum:9D90EAE8728F0930D4B6E330651CEDE43ED4C9774C4A9236058407059894C598; SizeAsReceived:7445; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [JtX3SCL8CK1gWfMohNhOYjqm1x3+TFT+] x-microsoft-original-message-id: <20190522091746.132422-1-philippe.mazenauer@outlook.de> x-ms-publictraffictype: Email x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:VE1EUR03HT069; x-ms-traffictypediagnostic: VE1EUR03HT069: x-microsoft-antispam-message-info: FADARJh28q77mYtZqB9ED4VgPPelOSxvgSb8yrck/nOm5o78QoO9Bl2yvX8uMFLQE1FpvQNiKwgm5Yobkpjg9DTbdM+8yZ7BX9wH8pHyyff0u4Nr08ySyQk5dYyxRigFmuw95W5gZ2XdvyjdA8wIC0Ap7ZX4uQrhDryM+cVd6/PoQTvTHolMQrbySvYhvsS9 Content-ID: <0F89DECB9B09EB4A9A0D6541B0C58630@eurprd07.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 841c8027-7795-40e1-f9a6-08d6de966b33 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2019 09:18:14.8640 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT069 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190522_021817_401387_47031359 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philippe Mazenauer , Russell King , "moderated list:ARM PORT" , open list Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing method arch_irq_work_raise() to irq_work.h, so as to remove missing-prototypes warning in kernel/smp.c. ../arch/arm/kernel/smp.c:572:6: warning: no previous prototype for ‘arch_irq_work_raise’ [-Wmissing-prototypes] void arch_irq_work_raise(void) ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer --- 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..c9edb9e7527f 100644 --- a/arch/arm/include/asm/irq_work.h +++ b/arch/arm/include/asm/irq_work.h @@ -4,6 +4,8 @@ #include +void arch_irq_work_raise(void); + static inline bool arch_irq_work_has_interrupt(void) { return is_smp();