diff options
Diffstat (limited to 'include/asm-x86/pgtable-3level.h')
-rw-r--r-- | include/asm-x86/pgtable-3level.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/asm-x86/pgtable-3level.h b/include/asm-x86/pgtable-3level.h index a123e687112f..5af7a44ed902 100644 --- a/include/asm-x86/pgtable-3level.h +++ b/include/asm-x86/pgtable-3level.h | |||
@@ -39,11 +39,6 @@ static inline void native_set_pte(pte_t *ptep, pte_t pte) | |||
39 | smp_wmb(); | 39 | smp_wmb(); |
40 | ptep->pte_low = pte.pte_low; | 40 | ptep->pte_low = pte.pte_low; |
41 | } | 41 | } |
42 | static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr, | ||
43 | pte_t *ptep , pte_t pte) | ||
44 | { | ||
45 | native_set_pte(ptep, pte); | ||
46 | } | ||
47 | 42 | ||
48 | /* | 43 | /* |
49 | * Since this is only called on user PTEs, and the page fault handler | 44 | * Since this is only called on user PTEs, and the page fault handler |
@@ -94,16 +89,6 @@ static inline void native_pmd_clear(pmd_t *pmd) | |||
94 | *(tmp + 1) = 0; | 89 | *(tmp + 1) = 0; |
95 | } | 90 | } |
96 | 91 | ||
97 | #ifndef CONFIG_PARAVIRT | ||
98 | #define set_pte(ptep, pte) native_set_pte(ptep, pte) | ||
99 | #define set_pte_at(mm, addr, ptep, pte) native_set_pte_at(mm, addr, ptep, pte) | ||
100 | #define set_pte_present(mm, addr, ptep, pte) native_set_pte_present(mm, addr, ptep, pte) | ||
101 | #define set_pte_atomic(ptep, pte) native_set_pte_atomic(ptep, pte) | ||
102 | #define set_pmd(pmdp, pmd) native_set_pmd(pmdp, pmd) | ||
103 | #define set_pud(pudp, pud) native_set_pud(pudp, pud) | ||
104 | #define pmd_clear(pmd) native_pmd_clear(pmd) | ||
105 | #endif | ||
106 | |||
107 | /* | 92 | /* |
108 | * Pentium-II erratum A13: in PAE mode we explicitly have to flush | 93 | * Pentium-II erratum A13: in PAE mode we explicitly have to flush |
109 | * the TLB via cr3 if the top-level pgd is changed... | 94 | * the TLB via cr3 if the top-level pgd is changed... |