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: 9017451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 99B289F30C for ; Wed, 4 May 2016 18:43:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D2D91203C1 for ; Wed, 4 May 2016 18:43:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12437203B4 for ; Wed, 4 May 2016 18:43:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ay1jX-0001Gq-AX; Wed, 04 May 2016 18:41:15 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ay1jU-0001A2-Hc for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2016 18:41:13 +0000 Received: by mail-pa0-x229.google.com with SMTP id iv1so26881863pac.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=U/NAQJRuXVFNsWLw2so6zZpudy+bmKFOclmpjXCQLoaGE6oOVknUkOQP2ZuMvI+Jr4 sw1+6F7kmwKJO1rMQYcW+Ww6XuaN+9Tr/7Uupp5KMBucWDg3d4mueV8/AxmRTpsEE4RN cFRgjSYPQg1y6l76XDxa+8eUDSBpbdr3nwZasSpJYFL7jpVkCa5TgycDrfnPFo025tU+ DgiAkSrTcSpVEqbxC9j8Q52Ubp73TQ6T81GOG5tSLVzD0dpCWva/SNGoc/eGClobK/T2 w+hQTJZPfNux9P+Eiw+FdrAyLZiPXCWHJGvZoLx8M8DS2rl0kfbX6ExW42+N+isFsQna /iJg== X-Gm-Message-State: AOPr4FVBOFcig4zKMQ4zCefHACsh+C9C8RrnlspSWc/86PswVUTg2KCaisakta/XDci7hO8V 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160504_114112_615089_5E34446D X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.shi@linaro.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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