From patchwork Tue Jun 17 17:14:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Salter X-Patchwork-Id: 32085 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8DBC7206A0 for ; Tue, 17 Jun 2014 17:15:08 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kq14sf11531364pab.4 for ; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=AwbeWR9sIbgzx18ORUi8pzBgGRIapfCCjOtIGqj/IeE=; b=iq3KsrCuffabjHUYQxl9OR4n8yHkO2QEG9DsiAAPdktCpETVHMzPXuGys9wOQWZcOn lGi/AwhCr8RPKIHh3QcAKgqWKmz/F9EP1WrFjSOciwjyTeLPtRwllJM00YG+EphcSsbQ Bqg4qS2o2eoldwj0iZxm2r1JfKBHeSbzoGz1mZHWT5gRiFlDFKWhC3asBIrH0G7fXeW/ dRVNnuUlFY4X0sqHKCt3SsgGRLHBL6se3FlO62KIa46b+SKUmyb5+67g/HwVILkRJ7yC tOLeqZoblwBfO3m4fx1vX6fq3Satp7Pu1ArNqBESze9HHqgQwVKJZMAW3w/kUZhstd0e uEGg== X-Gm-Message-State: ALoCoQkv8OeBCY4WceDMZzCYrfD8odFUsVG96KkRnGRDKP3emx6PsnyaKgJlc1SmrHaAHgNs93C1 X-Received: by 10.66.175.173 with SMTP id cb13mr2519233pac.10.1403025307708; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.201 with SMTP id z67ls5207584qgd.94.gmail; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) X-Received: by 10.58.147.40 with SMTP id th8mr115209veb.67.1403025307595; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id c1si3392000vdw.37.2014.06.17.10.15.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Jun 2014 10:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id oy12so6131399veb.27 for ; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr1502745vca.45.1403025307496; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp225250vcb; Tue, 17 Jun 2014 10:15:07 -0700 (PDT) X-Received: by 10.66.164.5 with SMTP id ym5mr34862904pab.50.1403025306757; Tue, 17 Jun 2014 10:15:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si15131497pbw.231.2014.06.17.10.15.06; Tue, 17 Jun 2014 10:15:06 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934149AbaFQRO4 (ORCPT + 27 others); Tue, 17 Jun 2014 13:14:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37652 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933460AbaFQROz (ORCPT ); Tue, 17 Jun 2014 13:14:55 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5HHEUxk013617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Jun 2014 13:14:30 -0400 Received: from deneb.redhat.com (ovpn-113-44.phx2.redhat.com [10.3.113.44]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5HHET94011023; Tue, 17 Jun 2014 13:14:30 -0400 From: Mark Salter To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Salter Subject: [PATCH] arm64: export __cpu_{clear,copy}_user_page functions Date: Tue, 17 Jun 2014 13:14:26 -0400 Message-Id: <1403025266-2326-1-git-send-email-msalter@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: msalter@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The __cpu_clear_user_page() and __cpu_copy_user_page() functions are not currently exported. This prevents modules from using clear_user_page() and opy_user_page(). Signed-off-by: Mark Salter --- arch/arm64/mm/copypage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/mm/copypage.c b/arch/arm64/mm/copypage.c index 9aecbac..13bbc3be 100644 --- a/arch/arm64/mm/copypage.c +++ b/arch/arm64/mm/copypage.c @@ -27,8 +27,10 @@ void __cpu_copy_user_page(void *kto, const void *kfrom, unsigned long vaddr) copy_page(kto, kfrom); __flush_dcache_area(kto, PAGE_SIZE); } +EXPORT_SYMBOL_GPL(__cpu_copy_user_page); void __cpu_clear_user_page(void *kaddr, unsigned long vaddr) { clear_page(kaddr); } +EXPORT_SYMBOL_GPL(__cpu_clear_user_page);