Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1258974rdg; Fri, 11 Aug 2023 15:37:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/pkj6qeqk1DfxrL59Jp3O6TH7XXcDMmQr0K/p3xafue9IL7fjXuG3B9y17tTDmRrf6OpV X-Received: by 2002:a17:907:75eb:b0:99b:d243:157c with SMTP id jz11-20020a17090775eb00b0099bd243157cmr2767079ejc.31.1691793451302; Fri, 11 Aug 2023 15:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691793451; cv=none; d=google.com; s=arc-20160816; b=ZlYjwRMVx+6nw1y2xRf5AM86PhB4gfe9QgdPvU0rebwyNBQNTo2SV2hzHp3hOx02sX Axp6jRqGoY5gAbxh13Mq6kaOFdYDYHHhVINEM9Uc3/GA2pORDRrV1teaFggUXjf0/MZF VCUefmgds6rac4hPenVLpWiHryWd3/Ky3t2+ahuGOIgUof2IymImyvOQczxES3XdzOQw ybc7ZXHszLEibJb04NIEkYaFsP24iARDeKpAb9fv8WDvXEBam0G63Oi5epjvH3DoyNIM cFD9CnQncbyq1BHDX+/J0hsec4XyscMD5rJ/tZveVt8S0CtI3czc9G15UHr7t8250Db4 dWUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9+Q0qgwz+LTZRtLCzgp6NUH0nNuOu714lgrI3XKoW94=; fh=3aecqx1nORHUA/Z3qpWwb1JE2u10P0XH0OHmD0iJca4=; b=sVLBVk8KAehOQGJnR8rOLy9XpvB6VDU3HRN0Msg/TyjnnwMgiiHY5x5FbZZdQMLmjl BxJeuhw6voKNoOprtxaQQQs7UmdYCSaGgNTeBqVu+IdsccZKDAOlvdoupzvUbbsHFg5y USq0iHhQR18jhDwS07jFKX6l/KjfTul/UU9V8K6laPkTIOquf+CCd63U14lnuEK4bNZE tQ3eu5VZcDDf2h7fT3Xalb/b7c9ZbRHDd3WktrqhCC6BhAZk99xlbSisO9rrCS9puQfd SzOxIkUhwV8zQ7LQ6J1OE4mPqNFYYqCH6OI4K5lgbzJ4A3phjuwZ2HTDzvcSNqdAVB4K 40EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oiLmKr3S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a170906b11200b0099bd5fe0db3si4120451ejy.906.2023.08.11.15.37.06; Fri, 11 Aug 2023 15:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oiLmKr3S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234479AbjHKWK7 (ORCPT + 99 others); Fri, 11 Aug 2023 18:10:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjHKWK4 (ORCPT ); Fri, 11 Aug 2023 18:10:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17AE81716; Fri, 11 Aug 2023 15:10:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AAC5E64B4A; Fri, 11 Aug 2023 22:10:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 188D1C4339A; Fri, 11 Aug 2023 22:10:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691791853; bh=N8lpigPkvlxlig325fbyaTImOPZkDbDukkfY6bibi4k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=oiLmKr3SBSdDL3sDxTS6aPUrfhjRbHMUZF5t1SOUvaq+3+t1wq0XHtVHW/E9gzGoy rr6E7qE7ej6FIjvDztI8eibsfJ/e4IJEo/bAZpvDoKnMxs8T4POFrJXLjAtwLLav/M LbuMYV7E3cEB5FJj10iucd1IemgC65zFpBITHVWb+j2peLQRZBCtBwpC73rJIUDt6D tSQVCOLWtq5PiDcILdill9IG1vcqHT1s0BUEkZTCmO8u3vu75xaEtApoTAiQ6pRZlE X252IHBujsr63ckTzbkt2EqYaHLH2N1MSmSiQ/UaoczmaJxm9DaXlIiw5zWSOtOc3a +y86OpqD+SI0g== Received: by mail-oo1-f52.google.com with SMTP id 006d021491bc7-56ced49d51aso1572357eaf.1; Fri, 11 Aug 2023 15:10:53 -0700 (PDT) X-Gm-Message-State: AOJu0YxGlZvxqDx+fxbWD8T4FW77USEwTrY5Ae94Xd+81BeeGBzlqyHj HPhKvs//saCchXv/eK986uE5enknbmOHcHs6vxE= X-Received: by 2002:a4a:240c:0:b0:564:e465:5d5c with SMTP id m12-20020a4a240c000000b00564e4655d5cmr2107496oof.2.1691791852125; Fri, 11 Aug 2023 15:10:52 -0700 (PDT) MIME-Version: 1.0 References: <20230810141947.1236730-1-arnd@kernel.org> <20230810141947.1236730-3-arnd@kernel.org> In-Reply-To: <20230810141947.1236730-3-arnd@kernel.org> From: Masahiro Yamada Date: Sat, 12 Aug 2023 07:10:15 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/17] [RESEND] irq_work: consolidate arch_irq_work_raise prototypes To: Arnd Bergmann Cc: Andrew Morton , linux-kernel@vger.kernel.org, Arnd Bergmann , Catalin Marinas , Palmer Dabbelt , Guo Ren , Alexander Gordeev , Russell King , Will Deacon , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 11, 2023 at 10:00=E2=80=AFAM Arnd Bergmann wr= ote: > > From: Arnd Bergmann > > The prototype was hidden on x86, which causes a warning: What do you mean by "hidden on x86"? arch_irq_work_raise() was declared on 7 architectures, including x86. > > kernel/irq_work.c:72:13: error: no previous prototype for 'arch_irq_work_= raise' [-Werror=3Dmissing-prototypes] > > Fix this by providing it in only one place that is always visible. > > Acked-by: Catalin Marinas > Acked-by: Palmer Dabbelt > Acked-by: Guo Ren > Reviewed-by: Alexander Gordeev > Signed-off-by: Arnd Bergmann > --- > arch/arm/include/asm/irq_work.h | 2 -- > arch/arm64/include/asm/irq_work.h | 2 -- > arch/csky/include/asm/irq_work.h | 2 +- > arch/powerpc/include/asm/irq_work.h | 1 - > arch/riscv/include/asm/irq_work.h | 2 +- > arch/s390/include/asm/irq_work.h | 2 -- > arch/x86/include/asm/irq_work.h | 1 - > include/linux/irq_work.h | 3 +++ > 8 files changed, 5 insertions(+), 10 deletions(-) > -- Best Regards Masahiro Yamada