summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/asm/page.h')
-rw-r--r--arch/nds32/include/asm/page.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/page.h b/arch/nds32/include/asm/page.h
index e27365c097b6..947f0491c9a7 100644
--- a/arch/nds32/include/asm/page.h
+++ b/arch/nds32/include/asm/page.h
@@ -27,6 +27,9 @@ extern void copy_user_highpage(struct page *to, struct page *from,
unsigned long vaddr, struct vm_area_struct *vma);
extern void clear_user_highpage(struct page *page, unsigned long vaddr);
+void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
+ struct page *to);
+void clear_user_page(void *addr, unsigned long vaddr, struct page *page);
#define __HAVE_ARCH_COPY_USER_HIGHPAGE
#define clear_user_highpage clear_user_highpage
#else
OpenPOWER on IntegriCloud