From 8d0b7d1055bedca784b143b0af9b37bd971b7cd2 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Wed, 20 Sep 2006 21:44:09 -0600 Subject: [PARISC] Export clear_user_page to modules Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin --- arch/parisc/kernel/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/parisc') diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index e91c2be..0be51e9 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c @@ -372,8 +372,7 @@ void parisc_setup_cache_timing(void) extern void purge_kernel_dcache_page(unsigned long); extern void clear_user_page_asm(void *page, unsigned long vaddr); -void -clear_user_page(void *page, unsigned long vaddr, struct page *pg) +void clear_user_page(void *page, unsigned long vaddr, struct page *pg) { purge_kernel_dcache_page((unsigned long)page); purge_tlb_start(); @@ -381,6 +380,7 @@ clear_user_page(void *page, unsigned long vaddr, struct page *pg) purge_tlb_end(); clear_user_page_asm(page, vaddr); } +EXPORT_SYMBOL(clear_user_page); void flush_kernel_dcache_page_addr(void *addr) { -- cgit v1.1