Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2123806ybl; Sat, 25 Jan 2020 17:16:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxvXuvX9q2qVVXa1xbRpfdV2qg5rNmep43Ugy0/nA0SXHOlEzok+UavZ14xYRZsKamgsQLX X-Received: by 2002:a9d:518b:: with SMTP id y11mr7488462otg.349.1580001413098; Sat, 25 Jan 2020 17:16:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580001413; cv=none; d=google.com; s=arc-20160816; b=C77TT91NiCxgghZsDG6X0GxpHL+sLGueBAIIYFeB+AcZ94OlfDj+ino/3ulpU2IpyQ W4dQGs/hulO33zUMSi6G/LTON4cBHnXPWUREfgetagq3LSFVoYLRIcCyNzIyr+pXHsaI vbNBVKTZXWCBUoRTe4ibsMMhDTWbmnjOAULqmeL0ogV7KWTUZ2DH90e5diOaiJ71W/Gs rGTR0uqF5lJeoNS9p+kSYTsDogbaa17aDktKWj6dZslG7x8ABRTKQnORl7Dcbh41TE3U V7ZS2yklWwC/XYFcJXBr2JdwSv5EgK/827siIWyFEJUUOlLUNpKc9toYtHni/D2Zv8uG aZfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=P4ZmLD3E5IAxSqVjm87oOK8RpPekd3XcY2WVMeWlDXo=; b=CuUqXgZEXgDuSQFho0nw+JsCvDJ0GMYVoB4sMHmxOv3s1IRk8q6CVHDAT3JhO0/1vi 0j1x2rs0IyM9QgXf53oyjNP43WNQbfwh1vKr6h7siGx6BtM8beCcQ/b4fqT8ZCoRSYVQ brDBJo2PVAkl6fp16juPnBDJhvx3bHq47PIiTxStUUOEwoSh4/5qA9RnfPrQZ8OS/tCC 67EJJlx8Ecdme1UNAvPlwpm4kuke+4jRWDmesVjqWo/ioieF8p74sdCKp4rQE5SzhLDt VJWbu5KWomfeZinszgLdzqcVFcocN6lrkVWvlZhfx+7+/gvCbfdrEYzQaFRs6zzrBMoz XAGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si4798152otq.196.2020.01.25.17.16.41; Sat, 25 Jan 2020 17:16:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729021AbgAZBPt (ORCPT + 99 others); Sat, 25 Jan 2020 20:15:49 -0500 Received: from mga18.intel.com ([134.134.136.126]:56489 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728884AbgAZBPt (ORCPT ); Sat, 25 Jan 2020 20:15:49 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2020 17:15:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,363,1574150400"; d="scan'208";a="251632878" Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.54]) by fmsmga004.fm.intel.com with ESMTP; 25 Jan 2020 17:15:46 -0800 From: Wei Yang To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wei Yang Subject: [PATCH] mm/swap.c: not necessary to export __pagevec_lru_add() Date: Sun, 26 Jan 2020 09:14:36 +0800 Message-Id: <20200126011436.22979-1-richardw.yang@linux.intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function __pagevec_lru_add() only used in mm directory now. Remove the export symbol. Signed-off-by: Wei Yang --- mm/swap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/swap.c b/mm/swap.c index 0f35f5394c51..e45a10f7f3d6 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -983,7 +983,6 @@ void __pagevec_lru_add(struct pagevec *pvec) { pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL); } -EXPORT_SYMBOL(__pagevec_lru_add); /** * pagevec_lookup_entries - gang pagecache lookup -- 2.17.1