From patchwork Tue May 16 19:35:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243598 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 390EDC77B7A for ; Tue, 16 May 2023 19:37:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CD2CB280007; Tue, 16 May 2023 15:36:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8249280001; Tue, 16 May 2023 15:36:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B4A98280007; Tue, 16 May 2023 15:36:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id A7F17280001 for ; Tue, 16 May 2023 15:36:59 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 84A821C70AA for ; Tue, 16 May 2023 19:36:59 +0000 (UTC) X-FDA: 80797126158.05.E551BF9 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf18.hostedemail.com (Postfix) with ESMTP id B19C01C0007 for ; Tue, 16 May 2023 19:36:57 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=MvDSmMsr; spf=pass (imf18.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=1684265817; 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=k6oUsEOfEyGBZn/zLZI8mMBBVAvWBsj+zjBrdljaBIU=; b=lWmfKY3UPtGNLqkfHmP3OCXdvxe7kiPpteiVImpNM6DrgIH90Qt9azyBa7K+oFyta/NIyo rAO2tYpfDjcrAj7E8nqJXKsL1wwQ8bM2o3EVxFmu6gGqDMA4yqdIjOyOzCGlmacgcdW2VC oTwZys8jDYDFIhBovpxYN9SA5U9HJKg= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684265817; a=rsa-sha256; cv=none; b=OLtxOvn3SS/6sQgprTpoIeRG2Eqk4dj0h+IQZKWxvITcd0yzGKlyeqZPawFTSr7Ile2fE3 W58uAh4lobqqM8KY+0w58VCZkaM4bqM6LJboXvyNhx6/dnvFDA309yCcWEiNxvZiA7kj1o OMRgC4hqVwYuissil2hKgySfF08T6mk= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=MvDSmMsr; spf=pass (imf18.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 E42CB63E92; Tue, 16 May 2023 19:36:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF1AFC4339C; Tue, 16 May 2023 19:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684265816; bh=QhfcjWc94ABit5CqNae5vJwGdRyTTfKtDRBYc+KBnK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MvDSmMsr+ldstYZFWxt0d/Qx2DvIFE1q3iE1Bqb+M+VmlMkwcfXpUcl5LvraEDI6S HnWIuY+SqiBpKZk8dhmFw5ETZeXvKwhiOJcQGWdhuNVfBEaKkHmXH0FVPCeGls5BT5 vQMZLkokAMdjoie4w/QtXptZ4gsEiXXyWgx+GJHuazf/GDKjvdN6Gt3EWJ4oMBeTkr FvGz1X+Q4Zbr9Q6Y3k/+TvHBSHypXy399/8SZG8zFY/uPkbqkgKPF1SzwLyfarV+rm t6q653S9gdfUGKRgliLv3S1pFZQjCqHtNzTcpq1utdvmK5duCxYK7yPT5e0S7iC690 mE1gVTCKwKBiQ== 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 08/20] x86: highmem: include asm/numa.h for set_highmem_pages_init Date: Tue, 16 May 2023 21:35:37 +0200 Message-Id: <20230516193549.544673-9-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: B19C01C0007 X-Rspam-User: X-Rspamd-Server: rspam06 X-Stat-Signature: 7mywyfeujuhmsz4p6z1xta41xzyoecjt X-HE-Tag: 1684265817-819746 X-HE-Meta: U2FsdGVkX197cszvYgJqK/+KNS1l/ma1ys96AOL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PjRmi0eFALqxvVJkFo6EBxhDuQ1Xb7/MCsN/2miiC4eBWnm5oK3cG9RrAAM9rpwUHn0lcOr6XHLF/66gSIqyUgg0Ix1ku8sVgqTL5f0eSaARCpChvc/vIbQy8bera2g/kYzzbl6l4s7aA7k/7A+1KqRp3JACGk+GfFyM69PPMrT+SnxC19xwC+HaoPfSTlEDiBvNx55JN4wUV9gUvsUOwcR2TMF 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 The set_highmem_pages_init() function is declared in asm/numa.h, which must be included in the file that defines it to avoid a W=1 warning: arch/x86/mm/highmem_32.c:7:13: error: no previous prototype for 'set_highmem_pages_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/x86/mm/highmem_32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c index 2c54b76d8f84..d9efa35711ee 100644 --- a/arch/x86/mm/highmem_32.c +++ b/arch/x86/mm/highmem_32.c @@ -3,6 +3,7 @@ #include #include /* for totalram_pages */ #include +#include void __init set_highmem_pages_init(void) {