From: Dmitri Vorobiev Date: Tue, 1 Apr 2008 23:58:35 +0000 (+0400) Subject: [MIPS] unexport copy_to_user_page() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=715243e6c3e8e74202eb663a8e45880ff6a1dff7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [MIPS] unexport copy_to_user_page() The copy_to_user_page() function is called only in the core kernel code. Therefore, there is no need to export it. This patch removes EXPORT_SYMBOL(copy_to_user_page). Signed-off-by: Dmitri Vorobiev Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 527d326bfa15..c1b197815283 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -247,8 +247,6 @@ void copy_to_user_page(struct vm_area_struct *vma, flush_cache_page(vma, vaddr, page_to_pfn(page)); } -EXPORT_SYMBOL(copy_to_user_page); - void copy_from_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len)