diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-09-20 23:44:09 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 08:51:16 -0400 |
commit | 8d0b7d1055bedca784b143b0af9b37bd971b7cd2 (patch) | |
tree | 4a3117d4cf75bc26f179d9f8f619e3045a0184ce /arch/parisc/kernel/cache.c | |
parent | 99b6e9be71b9ad2c50c0d160b5af18848fee466d (diff) |
[PARISC] Export clear_user_page to modules
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/cache.c')
-rw-r--r-- | arch/parisc/kernel/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index e91c2be7236a..0be51e92a2fc 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c | |||
@@ -372,8 +372,7 @@ void parisc_setup_cache_timing(void) | |||
372 | extern void purge_kernel_dcache_page(unsigned long); | 372 | extern void purge_kernel_dcache_page(unsigned long); |
373 | extern void clear_user_page_asm(void *page, unsigned long vaddr); | 373 | extern void clear_user_page_asm(void *page, unsigned long vaddr); |
374 | 374 | ||
375 | void | 375 | void clear_user_page(void *page, unsigned long vaddr, struct page *pg) |
376 | clear_user_page(void *page, unsigned long vaddr, struct page *pg) | ||
377 | { | 376 | { |
378 | purge_kernel_dcache_page((unsigned long)page); | 377 | purge_kernel_dcache_page((unsigned long)page); |
379 | purge_tlb_start(); | 378 | purge_tlb_start(); |
@@ -381,6 +380,7 @@ clear_user_page(void *page, unsigned long vaddr, struct page *pg) | |||
381 | purge_tlb_end(); | 380 | purge_tlb_end(); |
382 | clear_user_page_asm(page, vaddr); | 381 | clear_user_page_asm(page, vaddr); |
383 | } | 382 | } |
383 | EXPORT_SYMBOL(clear_user_page); | ||
384 | 384 | ||
385 | void flush_kernel_dcache_page_addr(void *addr) | 385 | void flush_kernel_dcache_page_addr(void *addr) |
386 | { | 386 | { |