From nobody Mon Feb 9 03:33:52 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D48EC77B7A for ; Wed, 31 May 2023 09:16:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbjEaJQn (ORCPT ); Wed, 31 May 2023 05:16:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbjEaJQk (ORCPT ); Wed, 31 May 2023 05:16:40 -0400 X-Greylist: delayed 334 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 31 May 2023 02:16:39 PDT Received: from forward205c.mail.yandex.net (forward205c.mail.yandex.net [178.154.239.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6344E6 for ; Wed, 31 May 2023 02:16:39 -0700 (PDT) Received: from forward103c.mail.yandex.net (forward103c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d103]) by forward205c.mail.yandex.net (Yandex) with ESMTP id B3A004855C for ; Wed, 31 May 2023 12:11:07 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:6e01:0:640:627f:0]) by forward103c.mail.yandex.net (Yandex) with ESMTP id 6A18760154; Wed, 31 May 2023 12:11:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id qAJGDoUWteA0-60oBuF1U; Wed, 31 May 2023 12:11:03 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1685524263; bh=Qz/zvm20YVew2wSgw5i22oMjX2ajjyiRSg99gIkAk5U=; h=Message-Id:Date:Cc:Subject:To:From; b=vyI+vSv0afDp9Y2BQdQpMBCvp96NnGv/IK4M+oAL86RQjUiJM4RFoOLQ/mb0Re2yN 1Fvunllgf9fInYnys//5n6h1+ekkelTaYqatfYfT5+68j/oQYC/R3vUdf4tCkdFnuP BFTmiZudvrhkWJajUy/IfOV01qp0xp/P9jmtuDqQ= Authentication-Results: mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Andy Lutomirski Cc: Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org, Dmitry Antipov , Dmitriy Antipov Subject: [PATCH] x86/vdso: provide prototype of __vdso_getcpu() Date: Wed, 31 May 2023 12:10:27 +0300 Message-Id: <20230531091027.70434-1-dmantipov@yandex.ru> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Include asm/vdso/processor.h to fix the following 'make LLVM=3D1 W=3D1' warning: arch/x86/entry/vdso/vgetcpu.c:13:1: error: no previous prototype for function '__vdso_getcpu' [-Werror,-Wmissing-prototypes] __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) ^ Signed-off-by: Dmitriy Antipov --- arch/x86/entry/vdso/vgetcpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/entry/vdso/vgetcpu.c b/arch/x86/entry/vdso/vgetcpu.c index 0a9007c24056..66edca964a9a 100644 --- a/arch/x86/entry/vdso/vgetcpu.c +++ b/arch/x86/entry/vdso/vgetcpu.c @@ -8,6 +8,7 @@ #include #include #include +#include =20 notrace long __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) --=20 2.40.1