2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 08:04:13 +08:00

[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>
This commit is contained in:
Matthew Wilcox 2006-09-20 21:44:09 -06:00 committed by Matthew Wilcox
parent 99b6e9be71
commit 8d0b7d1055

View 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)
{