]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
[PARISC] Export clear_user_page to modules
authorMatthew Wilcox <matthew@wil.cx>
Thu, 21 Sep 2006 03:44:09 +0000 (21:44 -0600)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:51:16 +0000 (06:51 -0600)
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/cache.c

index e91c2be7236aadc6bd1af03c1678ba466027f31b..0be51e92a2fc62f1e82387249d3dbead462606d7 100644 (file)
@@ -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)
 {