From patchwork Thu Oct 29 22:18:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 11867823 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 7EED7C2D0A3 for ; Thu, 29 Oct 2020 22:34:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0379F206DD for ; Thu, 29 Oct 2020 22:34:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="u2v4zXFP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="optYBODg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ikYVZ3/O" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0379F206DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:Subject:To:From:Date: Message-Id:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Owner; bh=3bzO9SLlJzhC8vXSsYc7KI/Dv7oTvGwZdDapeufiKgM=; b=u2v4zXFPeMNGIPWLMsZ8wZkhh hrSfneDw82CLYduJYiSG1X2tkl1MjrtVonn3rqiDaZEu5x3Or3tja1UXO+aPGM8CFES2sasoUoulz Izb/pwKwfPnF3V4SKImukq/Bd1/sk3Ss24qUTWVdS4wVor8bMSaXOhoWdVZQlpDyE3Ev7bAoOydQf hDrt+SaOHxr3SqM+NIUl7UNDWI1GOZXKUssT8YGJhh1HI7IvW/dRslEy/KQUkV1h41CfAgCG96M4r rRIKMcSXh7li26I2JiwD/sgKCLTK/AZ4TmW4In0Ct3nsGFHfC6CRF+5lCCYT9LU9ChdgyDECG6wD9 QG8FEgRaQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYGTO-0004pQ-5a; Thu, 29 Oct 2020 22:32:46 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYGSq-0004b5-TK; Thu, 29 Oct 2020 22:32:18 +0000 Message-Id: <20201029222650.784142428@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1604010730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=i3kbbtl9EePeHW2/ft3bZDh5NUwHcPcZYxbBfPjNZc8=; b=optYBODgRASR26Pm8VsgJxth+BZ5WESai5ve+FIoeO6K6qj3yoSEa7IkIhWJyqUNOSUBx6 79/Y/jeY3jqDggg77XAYWziVmWxvQKL6ysiLlxqw34U+dHLdnQzlaR+eJnMACTtxUV2djy Ay8emoqOlRWd61jbJwwNJi0QYCG8GXKKR3pclYGjfLGycLKfbLFfyvvfz9ezj2PoGE/t3K V1Yse9dtiBtqJi3RDfJXEgmLz1dQUBPaB+mUoIYgij+J4qnKNapOnyfF90yPGT9dTikrCE 5x7rM8SMYwPA3kD7F6NxYCZ6JzK4c4aGdTnYjH9zO92y76joN6sMs7JtoWmsYA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1604010730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=i3kbbtl9EePeHW2/ft3bZDh5NUwHcPcZYxbBfPjNZc8=; b=ikYVZ3/OGryHATIjRKeS4Pl9IRgd7+Kxln3CLC0H+27o+MISKcURCaVHypwpCJqENmDA3M iVSn7wd07o6DX9Bw== Date: Thu, 29 Oct 2020 23:18:08 +0100 From: Thomas Gleixner To: LKML Subject: [patch V2 02/18] mm/highmem: Un-EXPORT __kmap_atomic_idx() References: <20201029221806.189523375@linutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_183213_093616_69642A0A X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juri Lelli , linux-xtensa@linux-xtensa.org, Peter Zijlstra , Benjamin Herrenschmidt , Sebastian Andrzej Siewior , Ben Segall , linux-mm@kvack.org, Guo Ren , sparclinux@vger.kernel.org, Vincent Chen , Ingo Molnar , linux-arch@vger.kernel.org, Vincent Guittot , Herbert Xu , Michael Ellerman , x86@kernel.org, Russell King , linux-csky@vger.kernel.org, Christoph Hellwig , David Airlie , Mel Gorman , linux-snps-arc@lists.infradead.org, Ard Biesheuvel , Paul McKenney , linuxppc-dev@lists.ozlabs.org, Steven Rostedt , Linus Torvalds , Greentime Hu , Dietmar Eggemann , linux-arm-kernel@lists.infradead.org, Chris Zankel , Michal Simek , Thomas Bogendoerfer , Nick Hu , Max Filippov , Vineet Gupta , linux-mips@vger.kernel.org, Arnd Bergmann , Daniel Vetter , Paul Mackerras , Andrew Morton , Daniel Bristot de Oliveira , "David S. Miller" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Nothing in modules can use that. Signed-off-by: Thomas Gleixner Reviewed-by: Christoph Hellwig Cc: Andrew Morton Cc: linux-mm@kvack.org --- mm/highmem.c | 2 -- 1 file changed, 2 deletions(-) --- a/mm/highmem.c +++ b/mm/highmem.c @@ -108,8 +108,6 @@ static inline wait_queue_head_t *get_pkm atomic_long_t _totalhigh_pages __read_mostly; EXPORT_SYMBOL(_totalhigh_pages); -EXPORT_PER_CPU_SYMBOL(__kmap_atomic_idx); - unsigned int nr_free_highpages (void) { struct zone *zone;