login
Header Space

 
 

[PATCH 2/5] [MIPS] unexport copy_to_user_page()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-mips@...>, <ralf@...>, <linux-kernel@...>
Date: Tuesday, April 1, 2008 - 7:58 pm

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 <dmitri.vorobiev@gmail.com>
---
 arch/mips/mm/init.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index 71e5962..6b9d54b 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)
-- 
1.5.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/5] [MIPS] unexport rtc_mips_set_time(), Dmitri Vorobiev, (Tue Apr 1, 7:58 pm)
Re: [PATCH 4/5] [MIPS] unexport rtc_mips_set_time(), Ralf Baechle, (Fri Apr 4, 3:20 am)
[PATCH 3/5] [MIPS] unexport copy_from_user_page(), Dmitri Vorobiev, (Tue Apr 1, 7:58 pm)
Re: [PATCH 3/5] [MIPS] unexport copy_from_user_page(), Ralf Baechle, (Fri Apr 4, 3:20 am)
[PATCH 2/5] [MIPS] unexport copy_to_user_page(), Dmitri Vorobiev, (Tue Apr 1, 7:58 pm)
Re: [PATCH 2/5] [MIPS] unexport copy_to_user_page(), Ralf Baechle, (Fri Apr 4, 3:20 am)
[PATCH 1/5] [MIPS] unexport copy_user_highpage(), Dmitri Vorobiev, (Tue Apr 1, 7:58 pm)
Re: [PATCH 1/5] [MIPS] unexport copy_user_highpage(), Ralf Baechle, (Fri Apr 4, 3:19 am)
speck-geostationary