From: Mark Salter Date: Tue, 17 Jun 2014 17:14:26 +0000 (+0100) Subject: arm64: export __cpu_{clear,copy}_user_page functions X-Git-Tag: v4.14-rc1~7179^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bec7cedc8a92bfe96d32febe72634b30c63896bd;p=platform%2Fkernel%2Flinux-rpi.git arm64: export __cpu_{clear,copy}_user_page functions The __cpu_clear_user_page() and __cpu_copy_user_page() functions are not currently exported. This prevents modules from using clear_user_page() and copy_user_page(). Signed-off-by: Mark Salter Signed-off-by: Catalin Marinas --- 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);