aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/page.h')
-rw-r--r--include/asm-x86/page.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h
index 911d7e0b3cd9..a522fbada97e 100644
--- a/include/asm-x86/page.h
+++ b/include/asm-x86/page.h
@@ -79,6 +79,19 @@
79#ifndef __ASSEMBLY__ 79#ifndef __ASSEMBLY__
80void clear_page(void *page); 80void clear_page(void *page);
81void copy_page(void *to, void *from); 81void copy_page(void *to, void *from);
82
83/*
84 * These are used to make use of C type-checking..
85 */
86typedef unsigned long pteval_t;
87typedef unsigned long pmdval_t;
88typedef unsigned long pudval_t;
89typedef unsigned long pgdval_t;
90typedef unsigned long pgprotval_t;
91typedef unsigned long phys_addr_t;
92
93typedef struct { pteval_t pte; } pte_t;
94
82#endif /* !__ASSEMBLY__ */ 95#endif /* !__ASSEMBLY__ */
83 96
84#endif /* CONFIG_X86_64 */ 97#endif /* CONFIG_X86_64 */