From patchwork Thu May 18 22:03:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96070 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp830629vqo; Thu, 18 May 2023 15:12:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cSBVo2PE8mL+DCBbugQvfiJrMrL9sWtQ1JrAZpuAN+H/mPQFEO94aMIUErV+6MXPE3ff/ X-Received: by 2002:a17:90a:b013:b0:253:4fe3:b3ca with SMTP id x19-20020a17090ab01300b002534fe3b3camr81420pjq.21.1684447956488; Thu, 18 May 2023 15:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447956; cv=none; d=google.com; s=arc-20160816; b=Cj2snaPM9bYPjkBYlj7SOp8YtqfZNZouOzap33lm/JNqyqEpWlG7zJRQceAXPwsxfp qeL25CcPImW/Sl2VfSNUTxVpaVJ41J18pw/itbFWaQwIqvgryhEy22hDNOJbsWZURDl7 8Cv4UcXqidoMr4MqgM3boXJaWK/Rc1n9KLsgQPRLSY0xaIWCWKQLBmCpPRGE1ZZ7G5vR Hdgc7y22bkG1nSSzsDco7RFZ2MR+/HLhbiybQs5CPiKrGoAoz6NvTLRdcSYWXvQ7gFw3 TEDeZ2//mbGNXieUf98Iyid61VsfuvtCjbZ85clXKI2WP5n39WA7+RS98waKthZlfQFD bpZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=/NxiA/51FQFhSaENZM2Jcf7PcLcE5vMfY023kQopFJI=; b=Yq28NLUE5gweU7bJFtPfF7CK1HAooJ6zVe/CpSOeLa9mP8CX0/+1jSYb6nkjCYWKGy OOeEG7FxwfpIXAebzrt2SJByeKFEp3aeQRdHx4/vk59I63Nh4es+xpos0iSftf303qG7 BQsbcAJ1gCVIo0Jb0Hf4S0DO1RLp2wXQCOv7L9qJFIn0Dn97rCmCXeyEDyF5EJhSR5yp mn11ivmu1Hjrgru4Fax41NmwaPdNkAOqFcpthCd8egrH1r7OTJXaU7af6IOPXbWZrwUQ fQX9PvppSNOXbaBYE9wPLG5PY+VLcEIPIG9oYUVJisCx4rJIhgAi2N53wbRNh4yhiVwN RZsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=rraneGP2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t23-20020a17090b019700b0024664356ef7si375761pjs.152.2023.05.18.15.12.22; Thu, 18 May 2023 15:12:36 -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=@linutronix.de header.s=2020 header.b=rraneGP2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbjERWDR (ORCPT + 99 others); Thu, 18 May 2023 18:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbjERWDQ (ORCPT ); Thu, 18 May 2023 18:03:16 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFC4DE57; Thu, 18 May 2023 15:03:14 -0700 (PDT) Date: Thu, 18 May 2023 22:03:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447393; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/NxiA/51FQFhSaENZM2Jcf7PcLcE5vMfY023kQopFJI=; b=rraneGP2o0qleA13RIsZGAbbHcGtTlypELUpEOB6ykxHaRD1OhLdiTh1Ksvo1QAdoY9bwO bXMI3c0Met1E3LtjnJD3f4sD2z1i5RWKanjfK8zFaC3Fu5ySMJzXgLQJug5Pr1U5fLpN2n zzgRfAzKRx8lwTvk4MJchL7+qFyS2oiIA5ohfp6wxxT+mUH6Xm3jC/uQyjX2aECdSseBrZ mz2e0uf1N+krTe522HLnH8/TZAi++vmMthT1pkzsAax5wXLrsEf4jQzwVMhke6kvbYSH01 qmkx055UtZp0EH6rpy0qvmolaHDlyYR3EeG3VnClcd0iZ93SeiWeMz38yt4Hag== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447393; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/NxiA/51FQFhSaENZM2Jcf7PcLcE5vMfY023kQopFJI=; b=IKV8FJs2nSXd2BwRqsVIv2m5FctEvzBTtwikgdPm+tIoPgZ4U2tHMHPYr6J/MWeA9r/LOl yaS1hFCeYj+SOEDg== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/vdso: Include vdso/processor.h Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739265.404.17829219403406293838.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271700045221940?= X-GMAIL-MSGID: =?utf-8?q?1766271700045221940?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 3e0bd4dd35406a130de02c1660e32f6c40121d35 Gitweb: https://git.kernel.org/tip/3e0bd4dd35406a130de02c1660e32f6c40121d35 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:45 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/vdso: Include vdso/processor.h __vdso_getcpu is declared in a header but this is not included before the definition, causing a W=1 warning: arch/x86/entry/vdso/vgetcpu.c:13:1: error: no previous prototype for '__vdso_getcpu' [-Werror=missing-prototypes] arch/x86/entry/vdso/vdso32/../vgetcpu.c:13:1: error: no previous prototype for '__vdso_getcpu' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-17-arnd%40kernel.org --- 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 0a9007c..e464030 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)