Commit 8d0b7d10 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Matthew Wilcox

[PARISC] Export clear_user_page to modules

Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 99b6e9be
...@@ -372,8 +372,7 @@ void parisc_setup_cache_timing(void) ...@@ -372,8 +372,7 @@ void parisc_setup_cache_timing(void)
extern void purge_kernel_dcache_page(unsigned long); extern void purge_kernel_dcache_page(unsigned long);
extern void clear_user_page_asm(void *page, unsigned long vaddr); extern void clear_user_page_asm(void *page, unsigned long vaddr);
void void clear_user_page(void *page, unsigned long vaddr, struct page *pg)
clear_user_page(void *page, unsigned long vaddr, struct page *pg)
{ {
purge_kernel_dcache_page((unsigned long)page); purge_kernel_dcache_page((unsigned long)page);
purge_tlb_start(); purge_tlb_start();
...@@ -381,6 +380,7 @@ clear_user_page(void *page, unsigned long vaddr, struct page *pg) ...@@ -381,6 +380,7 @@ clear_user_page(void *page, unsigned long vaddr, struct page *pg)
purge_tlb_end(); purge_tlb_end();
clear_user_page_asm(page, vaddr); clear_user_page_asm(page, vaddr);
} }
EXPORT_SYMBOL(clear_user_page);
void flush_kernel_dcache_page_addr(void *addr) void flush_kernel_dcache_page_addr(void *addr)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment