From patchwork Wed May 4 18:14:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 67165 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp343711qge; Wed, 4 May 2016 11:40:55 -0700 (PDT) X-Received: by 10.66.189.65 with SMTP id gg1mr14208920pac.148.1462387254824; Wed, 04 May 2016 11:40:54 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 124si6050383pfd.109.2016.05.04.11.40.54; Wed, 04 May 2016 11:40:54 -0700 (PDT) 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; dkim=pass header.i=@linaro.org; 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=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754014AbcEDSkx (ORCPT + 29 others); Wed, 4 May 2016 14:40:53 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35181 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752399AbcEDSkw (ORCPT ); Wed, 4 May 2016 14:40:52 -0400 Received: by mail-pa0-f43.google.com with SMTP id iv1so26881852pac.2 for ; Wed, 04 May 2016 11:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jn6fuMLViFSlDSFgnt4BoM/DevUVuIqxpYkn2FRpD74=; b=dFMVjNEEp+WetyFHvoggqujpE4TycfHzoEsGX/opE4mWFWWSmSC23CECe3rWW5NAD6 GFJPmwcpfqtmYjZGY5cjPnA5AkDPZbRnIAWSERlCQ72bchc7inkj8qPJlulUqkEBm9e+ y0oblI49le/hBYDBh2CuWNvNkqsDpH6y+dgfA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jn6fuMLViFSlDSFgnt4BoM/DevUVuIqxpYkn2FRpD74=; b=MCKu30Se6HutzvrCxL5UnZ6VniZaU8BYOP5z+p1CHwal5ihQ/2CB4vaC4tYIXeyHJ7 pf3Vw6sWOWd91700YQ0Iz4rK5lj0tS79OuKucjotpNjZfkb5EItpz5XW7uVqHhYwIjvw VtbvJ8iNEDJ1iUYOtCYzW9EUXvkHB7SXpbdg94VzIh709zNjQ0PoPPh73FSToj3nsA3A 6VVwnTedosqcNzqyTbFP+eMlEwvOIh8SnvsfeSRruCV9XjDASNH0N5t75O2fCrIKqLYr tSp3Ghdes76cG3l5bghpWMapkRShdXL5pDVJerQl+wuRjqXcZzXRcAFungKAZcgy/Ssv cq0Q== X-Gm-Message-State: AOPr4FVoJiFaRdEbxE6kApD0nGI97mT0HHp7swpn0xSC3ZxoINkO0i0hHVG5zSsTwdljPa1a X-Received: by 10.66.237.35 with SMTP id uz3mr7799473pac.145.1462387251252; Wed, 04 May 2016 11:40:51 -0700 (PDT) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id lq10sm7782976pab.36.2016.05.04.11.40.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 May 2016 11:40:50 -0700 (PDT) From: Yang Shi To: will.deacon@arm.com, catalin.marinas@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH] arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL Date: Wed, 4 May 2016 11:14:27 -0700 Message-Id: <1462385667-21022-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org arch_pick_mmap_layout is only called by fs/exec.c which is always built into kernel, it looks the EXPORT_SYMBOL_GPL is pointless and no architectures export it other than ARM64. Signed-off-by: Yang Shi --- arch/arm64/mm/mmap.c | 2 -- 1 file changed, 2 deletions(-) -- 2.0.2 diff --git a/arch/arm64/mm/mmap.c b/arch/arm64/mm/mmap.c index 232f787..01c1717 100644 --- a/arch/arm64/mm/mmap.c +++ b/arch/arm64/mm/mmap.c @@ -95,8 +95,6 @@ void arch_pick_mmap_layout(struct mm_struct *mm) mm->get_unmapped_area = arch_get_unmapped_area_topdown; } } -EXPORT_SYMBOL_GPL(arch_pick_mmap_layout); - /* * You really shouldn't be using read() or write() on /dev/mem. This might go