diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-11 13:20:05 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-11 17:54:10 -0500 |
commit | 54321d947ae9d6a051b81e3eccaf2d8658aeecc6 (patch) | |
tree | 2843c22a872d39cf815ca0d6b250bb8684dadb2b /arch/x86/include/asm/page.h | |
parent | e2f5bda94152fa567f6b48126741014123f982b8 (diff) |
x86: move pte types into pgtable*.h
pgtable*.h is intended for definitions relating to actual pagetables
and their entries, so move all the definitions for
(pte|pmd|pud|pgd)(val)?_t to the appropriate pgtable*.h headers.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/page.h')
-rw-r--r-- | arch/x86/include/asm/page.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h index 28423609b00e..467ce69306b2 100644 --- a/arch/x86/include/asm/page.h +++ b/arch/x86/include/asm/page.h | |||
@@ -31,28 +31,6 @@ static inline void copy_user_page(void *to, void *from, unsigned long vaddr, | |||
31 | alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr) | 31 | alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr) |
32 | #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE | 32 | #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE |
33 | 33 | ||
34 | #ifdef CONFIG_PARAVIRT | ||
35 | #include <asm/paravirt.h> | ||
36 | #else /* !CONFIG_PARAVIRT */ | ||
37 | |||
38 | #define pgd_val(x) native_pgd_val(x) | ||
39 | #define __pgd(x) native_make_pgd(x) | ||
40 | |||
41 | #ifndef __PAGETABLE_PUD_FOLDED | ||
42 | #define pud_val(x) native_pud_val(x) | ||
43 | #define __pud(x) native_make_pud(x) | ||
44 | #endif | ||
45 | |||
46 | #ifndef __PAGETABLE_PMD_FOLDED | ||
47 | #define pmd_val(x) native_pmd_val(x) | ||
48 | #define __pmd(x) native_make_pmd(x) | ||
49 | #endif | ||
50 | |||
51 | #define pte_val(x) native_pte_val(x) | ||
52 | #define __pte(x) native_make_pte(x) | ||
53 | |||
54 | #endif /* CONFIG_PARAVIRT */ | ||
55 | |||
56 | #define __pa(x) __phys_addr((unsigned long)(x)) | 34 | #define __pa(x) __phys_addr((unsigned long)(x)) |
57 | #define __pa_nodebug(x) __phys_addr_nodebug((unsigned long)(x)) | 35 | #define __pa_nodebug(x) __phys_addr_nodebug((unsigned long)(x)) |
58 | /* __pa_symbol should be used for C visible symbols. | 36 | /* __pa_symbol should be used for C visible symbols. |