diff options
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level.h')
-rw-r--r-- | arch/x86/include/asm/pgtable-3level.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 28ba09ac2308..7ad9d05710b1 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h | |||
@@ -115,10 +115,6 @@ static inline void pud_clear(pud_t *pudp) | |||
115 | write_cr3(pgd); | 115 | write_cr3(pgd); |
116 | } | 116 | } |
117 | 117 | ||
118 | /* Find an entry in the second-level page table.. */ | ||
119 | #define pmd_offset(pud, address) ((pmd_t *)pud_page_vaddr(*(pud)) + \ | ||
120 | pmd_index(address)) | ||
121 | |||
122 | #ifdef CONFIG_SMP | 118 | #ifdef CONFIG_SMP |
123 | static inline pte_t native_ptep_get_and_clear(pte_t *ptep) | 119 | static inline pte_t native_ptep_get_and_clear(pte_t *ptep) |
124 | { | 120 | { |