Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp597774rwd; Wed, 31 May 2023 02:45:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6APiucUyd2f7zIb4Zl/um+p+CzfuvNiDxp9GGBqBF/9SyO+47TrjQdY0uXoaTMAnvBgU/z X-Received: by 2002:a17:903:249:b0:1a6:82ac:f277 with SMTP id j9-20020a170903024900b001a682acf277mr5918948plh.14.1685526354245; Wed, 31 May 2023 02:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685526354; cv=none; d=google.com; s=arc-20160816; b=kWUyHkqjegoGiqumN8JBnZ7CH5tY7pkDBIhgvbwmhri1uhq1qTs79mTIdyn5sQO2pR mvT4JuD7YGRhlbZU9NrK+k65yu9iLcWeKDFuIIl/hNjb03uVcJ9xzh9LUTTtqgwC0P54 0xq6jYYDvFLKMiKun+W4vbH+8ZJmnyhF2RkrOxTld2Pj6lWpxV6kgKxzqh6U0sGuvSet 7L0HQ1zLbjbbRRHv1QaWZW1j0FBsrEDIkJYSWjGWP/MjhceQcv0PWMqsvP+YT+tKfevb dR+yRgLowseRbQVtqd0aWv2IkTwvyI9VzjU0uqhFECVxXLndApOu++XuzWDFVAaerVKj qOJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Qz/zvm20YVew2wSgw5i22oMjX2ajjyiRSg99gIkAk5U=; b=BGwfEfv/6inD7OnEXv7e0WWRvsBQrY4RqkUIufMeoEWq0sIpB9IqAJn0I+5ugn6Pdk /vyry5pX2HBAvLruhIza854sbwfbVJ7Wsa3w2bLAYlFkaQxq5C8uAcqA4fub4Z6vseSp 0OoxAXj6J7zNe8Hku5NIraF1IBYf0MbCP8G5BAWb8zUjABjIgjgb9MCeR/U4iRSd9zAO RjV/gnMALjniep2dCwSHlbcs+iw/+7W/cRQWs96MBQxoK0Pw30h58pVzZiZLu9tAKeUi M8mViC1Gnlw9dLUmaUEZAyeCJcCx8yN8y3AgpnhWc7hcdFMBmqvgKTfuBpq102gTol4S SAaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=vyI+vSv0; 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=yandex.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a17090301c400b001b024ab08fbsi680473plh.59.2023.05.31.02.45.42; Wed, 31 May 2023 02:45:54 -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=@yandex.ru header.s=mail header.b=vyI+vSv0; 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=yandex.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235057AbjEaJQm (ORCPT + 99 others); Wed, 31 May 2023 05:16:42 -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: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_VALIDITY_RPBL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Include asm/vdso/processor.h to fix the following 'make LLVM=1 W=1' 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 notrace long __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) -- 2.40.1