From patchwork Tue May 16 19:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243606 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2452C7EE24 for ; Tue, 16 May 2023 19:37:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 77AFB280006; Tue, 16 May 2023 15:37:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 72B48280001; Tue, 16 May 2023 15:37:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5F33B280006; Tue, 16 May 2023 15:37:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 4480B280001 for ; Tue, 16 May 2023 15:37:49 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id F2E7C1C6BF9 for ; Tue, 16 May 2023 19:37:48 +0000 (UTC) X-FDA: 80797128216.19.C5EFDBC Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf16.hostedemail.com (Postfix) with ESMTP id 5A49718000F for ; Tue, 16 May 2023 19:37:47 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QzHHLwTI; spf=pass (imf16.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684265867; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=1dbyLDVJGTc0cXrEQAOecdZFteFRqkiQmJwAzs9ZGDw=; b=6h/9FdAANV3r971TG8LIPQWPJQzPZQnzT0M+8z+Kg8a4jNImG5N1SXPnbgoxYJ9OXg42aO OIgx9odJF9N8U6sLR0OaeX61mpBGww2dR3oTgUrIX7FpI7S4lX7BCXZTgNql9UAMOftgvs RKmdZ4OxnwL5/cFC/6rGOvtzX16hsRw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684265867; a=rsa-sha256; cv=none; b=mtq2t0lbG3h53NOOOQFSRK5FQNHz+tG2fk8Nk88VziBnoBg6vbnz3JnjGPApgNcIgPNHO8 qkp6bE27NOtgHdVnVvoYqMjqwQ9E0fIh6t+6ftx2xkXkIb93Ds37PgmPhHtzsuUNm8Yp9p vLu5GFSnVcUat04bzGc4vE72mHNcvFs= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QzHHLwTI; spf=pass (imf16.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 85B5863EA1; Tue, 16 May 2023 19:37:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5BB4C433D2; Tue, 16 May 2023 19:37:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684265865; bh=ePOLp5lrYksDFnI5SruvVtfGvFIosnERaoYqbpISZdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QzHHLwTINJvvcADDWDAFD53gb0rzvbfM+9frChQz9nOeJdPvDbN96AuXaWQc9Zvxr aIMvdYvF3T+QNbI/k5wpwc6MSujK2ulBi7AB+gIW4MAFtORYIB6dloPpaU3136n4im 28e0oQ/gFuMmWEVqE32GvMwA8QC1R8ZOSDj5aB75yht+WU7UenY2JSg291k/G5ntiU 9aBuw8l68CYZc+TZWL+A0oDAj4k2nTmi3WAfSETq8X/lpMsTNhdlRU1e3qXY/DCjc8 kbTXiAG5OAPFlElt+nbApNzKv5CT7DQpkoHI/Mebhyj1HGkKmozLCY+jMgkk1Bebd7 De/Gp233G0FBg== From: Arnd Bergmann To: x86@kernel.org Cc: Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Juergen Gross , "Srivatsa S. Bhat (VMware)" , Alexey Makhalov , VMware PV-Drivers Reviewers , Peter Zijlstra , Darren Hart , Andy Shevchenko , Boris Ostrovsky , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, platform-driver-x86@vger.kernel.org, xen-devel@lists.xenproject.org, linux-pm@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 16/20] x86: vdso: include vdso/processor.h Date: Tue, 16 May 2023 21:35:45 +0200 Message-Id: <20230516193549.544673-17-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> References: <20230516193549.544673-1-arnd@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 5A49718000F X-Stat-Signature: e44nqxxtjt38e7z1arkbmsgp97yoonyb X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1684265867-700132 X-HE-Meta: U2FsdGVkX18K1Lp1zAmE9bXlfGZ0nnwc1vavUhFGG+TIs8Gpfa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m1aQv863A25TrWYQ877IPylaAqb8SvCu3qYrGZ7GEk0hI2DBJ6Y0C/nvepyguhY3Qiq0R1SDe4AW2HIsRrxQbjLouzRIylLnOo50+8ZlQK5gibUPTCKVMD5EbNJBlgh1Q+hNTbZr5WA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Arnd Bergmann __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 --- 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..e4640306b2e3 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)