aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/page_64.h')
-rw-r--r--include/asm-x86/page_64.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/asm-x86/page_64.h b/include/asm-x86/page_64.h
index 69ef7cf9dadd..f5e0543b8afa 100644
--- a/include/asm-x86/page_64.h
+++ b/include/asm-x86/page_64.h
@@ -7,26 +7,6 @@
7extern unsigned long end_pfn; 7extern unsigned long end_pfn;
8extern unsigned long end_pfn_map; 8extern unsigned long end_pfn_map;
9 9
10void clear_page(void *page);
11void copy_page(void *to, void *from);
12
13struct page;
14
15static void inline clear_user_page(void *page, unsigned long vaddr,
16 struct page *pg)
17{
18 clear_page(page);
19}
20
21static void inline copy_user_page(void *to, void *from, unsigned long vaddr,
22 struct page *topage)
23{
24 copy_page(to, from);
25}
26
27#define __alloc_zeroed_user_highpage(movableflags, vma, vaddr) \
28 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
29#define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE
30/* 10/*
31 * These are used to make use of C type-checking.. 11 * These are used to make use of C type-checking..
32 */ 12 */