Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1567546pxa; Fri, 28 Aug 2020 17:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7F4ksZ1B/+qK8FVnD3fiKz5dsQW/c08H6mwrL/WetGTrjOB3UI7Cas/v/C4tVXW449mOr X-Received: by 2002:a50:9e4c:: with SMTP id z70mr1209629ede.384.1598659391182; Fri, 28 Aug 2020 17:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598659391; cv=none; d=google.com; s=arc-20160816; b=d5OYsU0LgbV4EGYHdHEDgBku1bo7Lq9vBvK7aJQT4LLp7j4INWLnCCddYzIc3KJxsG TA6Aul5vfrANO1/pkdUXCratzjOALk4JOzUx73jCRYZmquBqMiuJhJwTiwC+ndITQSS+ d47QteqYua+bz64P2/MSKH+NiQWykNwjnNNcU+u64rh1G1cwXAsG/2MgfGCgIeEDHvqa MT/zA4VoSSN4yY/ACjUcJeQzTZ+PdwszTZUgMBODHU4NcaWATxM7/1XA3Jlnm5FwcFBM 38cuaI9Q5o2TJlF26XZa6cVIXczYrGrTlzUR2bgScXioWfIWmeX3ZuR6QMJaNun0fVL7 hwgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+Zwv5kkct+jkKHl87kFaXuKzv2xv4JFYcagXkCr1IzE=; b=nuFRzJnpfLF3hPTm1dWIjyePzuzH9SyEjR7FrAlkbzeeMn2g/8jn2DXkMwqDGlXuNs PtVIA3Ag5NbDfPfwaW6Jfn3dCqxsCXupvLpnpin4u2sQaxJfU0wPXNvl8BwbIZzxLstQ ACqnbB2IXD0wL9j9CR22HYCL3vQYEOlUfydxRsYACI/gWUFOqe8L9hkPqIISgUdIoIHQ GPPq17KCHCblfBH4uoYXA6w/Ilb166akyBhRY5GZqhW3NYAgKdnA4DECpYsJEw7Og703 XuQn813YEcR4M9+PbTdHnKoAMX595jIdvkUpTT8AkOwgKq+bvoOPSDACCO3C+argKpiD zPFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=YubdVILj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si413919edv.465.2020.08.28.17.02.49; Fri, 28 Aug 2020 17:03:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=YubdVILj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgH2ABg (ORCPT + 99 others); Fri, 28 Aug 2020 20:01:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726775AbgH2ABe (ORCPT ); Fri, 28 Aug 2020 20:01:34 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23B30C061264; Fri, 28 Aug 2020 17:01:34 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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