From patchwork Wed Sep 8 02:57:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12479945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B03CBC433F5 for ; Wed, 8 Sep 2021 02:57:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7F09960E52 for ; Wed, 8 Sep 2021 02:57:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7F09960E52 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 2669C940024; Tue, 7 Sep 2021 22:57:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 21648900003; Tue, 7 Sep 2021 22:57:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1053C940024; Tue, 7 Sep 2021 22:57:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0085.hostedemail.com [216.40.44.85]) by kanga.kvack.org (Postfix) with ESMTP id EF1DB900003 for ; Tue, 7 Sep 2021 22:57:28 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id BE651181D5A95 for ; Wed, 8 Sep 2021 02:57:28 +0000 (UTC) X-FDA: 78562895376.13.B495780 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf20.hostedemail.com (Postfix) with ESMTP id 769DFD0000A7 for ; Wed, 8 Sep 2021 02:57:28 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 76D0E61153; Wed, 8 Sep 2021 02:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1631069847; bh=KCeFamD3+yu2IP2kG803DYdWWNNiJJNKTG1/8HLuiIs=; h=Date:From:To:Subject:In-Reply-To:From; b=Rb0SV99AD1sN1Q7Ae6mUvKcUJyEwtDPy7ZtB/aI0igmkrVAlklpMGAIClmvWqZQSY ZNBQXlR4enDcxGw3XXD8jR/q3mLKpJ1d2S2gJFk1wh73Qxxsknkd98wSgiYCChH1Sk dowpzrwysmrkZv1UcDux10pq0YAH6/7cqGiagm74= Date: Tue, 07 Sep 2021 19:57:27 -0700 From: Andrew Morton To: akpm@linux-foundation.org, cl@linux.com, dennis@kernel.org, gregkh@linuxfoundation.org, hch@lst.de, linux-mm@kvack.org, mm-commits@vger.kernel.org, tj@kernel.org, torvalds@linux-foundation.org Subject: [patch 078/147] percpu: remove export of pcpu_base_addr Message-ID: <20210908025727.o4i9tf480%akpm@linux-foundation.org> In-Reply-To: <20210907195226.14b1d22a07c085b22968b933@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=Rb0SV99A; spf=pass (imf20.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: p5wediuecht9yzq7eknyxqupmo6qphjd X-Rspamd-Queue-Id: 769DFD0000A7 X-Rspamd-Server: rspam04 X-HE-Tag: 1631069848-14485 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: Greg Kroah-Hartman Subject: percpu: remove export of pcpu_base_addr This is not needed by any modules, so remove the export. Link: https://lkml.kernel.org/r/20210722185814.504541-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman Reviewed-by: Christoph Hellwig Cc: Dennis Zhou Cc: Tejun Heo Cc: Christoph Lameter Signed-off-by: Andrew Morton --- mm/percpu.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/percpu.c~percpu-remove-export-of-pcpu_base_addr +++ a/mm/percpu.c @@ -146,7 +146,6 @@ static unsigned int pcpu_high_unit_cpu _ /* the address of the first chunk which starts with the kernel static area */ void *pcpu_base_addr __ro_after_init; -EXPORT_SYMBOL_GPL(pcpu_base_addr); static const int *pcpu_unit_map __ro_after_init; /* cpu -> unit */ const unsigned long *pcpu_unit_offsets __ro_after_init; /* cpu -> unit offset */