From patchwork Sat Aug 29 00:01:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11743833 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FD0313B6 for ; Sat, 29 Aug 2020 00:01:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 42E92207DA for ; Sat, 29 Aug 2020 00:01:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="YubdVILj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42E92207DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8E82A6B0005; Fri, 28 Aug 2020 20:01:35 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 874986B0006; Fri, 28 Aug 2020 20:01:35 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 73BB96B0007; Fri, 28 Aug 2020 20:01:35 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0189.hostedemail.com [216.40.44.189]) by kanga.kvack.org (Postfix) with ESMTP id 5E2336B0005 for ; Fri, 28 Aug 2020 20:01:35 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 195F9824556B for ; Sat, 29 Aug 2020 00:01:35 +0000 (UTC) X-FDA: 77201652150.08.home05_1a0414327079 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id DD39E1819E785 for ; Sat, 29 Aug 2020 00:01:34 +0000 (UTC) X-Spam-Summary: 1,0,0,cbea7c56fa04f55c,d41d8cd98f00b204,rdunlap@infradead.org,,RULES_HIT:41:355:379:541:800:960:967:973:988:989:1260:1311:1314:1345:1431:1437:1515:1534:1542:1711:1730:1747:1777:1792:2393:2525:2559:2563:2682:2685:2859:2894:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3870:3876:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4043:4321:5007:6261:6653:7875:9025:9040:10004:11026:11473:11658:11914:12043:12114:12297:12438:12517:12519:12555:12895:12986:13221:13229:13845:13846:13894:14096:14181:14394:14721:21080:21451:21627:30054:30064,0,RBL:205.233.59.134:@infradead.org:.lbl8.mailshell.net-64.201.201.201 62.8.55.100;04ygfjq7hx95pupx8u61nr1itc1b1oppc498p1m95ppb8ze9ub937k3ecnmhrsx.wt8ad3rd9rdmzuggyt4ofnkeyisxyotrmsx8y34njqqdegnhsuc1puqe9jzwyxw.k-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: home05_1a0414327079 X-Filterd-Recvd-Size: 3787 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Sat, 29 Aug 2020 00:01:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=+Zwv5kkct+jkKHl87kFaXuKzv2xv4JFYcagXkCr1IzE=; b=YubdVILjTR2nyG51zlpaGRABVi pfZI1LQj2eYL2o3AgH41PMQKwI7ObnaInOd1OT8fWqK8mm11v0ziQawbGRMBqcgTx7VkkOF/cMZjX tYl2ojXRrSmXoeF7/lqOwKPXZSY3LkyI24/6KMwmBZV3xMLv/6ug8HIVzUA3yg8eaJx5yb+tcLPVX 0DfWfSb14Tzc72vhP4I12MU23A6mt6S45i0dz231VfdoWMLklPOurlrToQv8LrJJyegaaAkALX+tM aPmG+FbA7npzoHx1vsbDb+ECN/ox5a/DHiDDBjk0rYGwCP6cuncCb/bbWBcyDathDQfIxbTjij/1O xGvM7K8w==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBoJH-000723-Nr; Sat, 29 Aug 2020 00:01:32 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , linux-mm@kvack.org, Andrew Morton , David Rientjes , Mike Rapoport , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Subject: [PATCH] ia64: fix min_low_pfn/max_low_pfn build errors Date: Fri, 28 Aug 2020 17:01:26 -0700 Message-Id: <20200829000126.2463-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: DD39E1819E785 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 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: Fix min_low_pfn/max_low_pfn build errors for arch/ia64/: (e.g.) ERROR: "max_low_pfn" [drivers/rpmsg/virtio_rpmsg_bus.ko] undefined! ERROR: "min_low_pfn" [drivers/rpmsg/virtio_rpmsg_bus.ko] undefined! ERROR: "min_low_pfn" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined! ERROR: "max_low_pfn" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined! ERROR: "min_low_pfn" [drivers/crypto/cavium/nitrox/n5pf.ko] undefined! ERROR: "max_low_pfn" [drivers/crypto/cavium/nitrox/n5pf.ko] undefined! ERROR: "max_low_pfn" [drivers/md/dm-integrity.ko] undefined! ERROR: "min_low_pfn" [drivers/md/dm-integrity.ko] undefined! ERROR: "max_low_pfn" [crypto/tcrypt.ko] undefined! ERROR: "min_low_pfn" [crypto/tcrypt.ko] undefined! ERROR: "min_low_pfn" [security/keys/encrypted-keys/encrypted-keys.ko] undefined! ERROR: "max_low_pfn" [security/keys/encrypted-keys/encrypted-keys.ko] undefined! ERROR: "min_low_pfn" [arch/ia64/kernel/mca_recovery.ko] undefined! ERROR: "max_low_pfn" [arch/ia64/kernel/mca_recovery.ko] undefined! David suggested just exporting min_low_pfn & max_low_pfn in mm/memblock.c: https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2006291911220.1118534@chino.kir.corp.google.com/ Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: linux-mm@kvack.org Cc: Andrew Morton Cc: David Rientjes Cc: Mike Rapoport Cc: Tony Luck Cc: Fenghua Yu Cc: linux-ia64@vger.kernel.org Acked-by: David Rientjes Acked-by: Tony Luck --- arch/ia64/kernel/ia64_ksyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200825.orig/arch/ia64/kernel/ia64_ksyms.c +++ linux-next-20200825/arch/ia64/kernel/ia64_ksyms.c @@ -3,7 +3,7 @@ * Architecture-specific kernel symbols */ -#ifdef CONFIG_VIRTUAL_MEM_MAP +#if defined(CONFIG_VIRTUAL_MEM_MAP) || defined(CONFIG_DISCONTIGMEM) #include #include #include