aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/pgtable_64.h')
-rw-r--r--arch/x86/include/asm/pgtable_64.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h
index 9875e40c058d..7edacc7ec89f 100644
--- a/arch/x86/include/asm/pgtable_64.h
+++ b/arch/x86/include/asm/pgtable_64.h
@@ -185,7 +185,6 @@ static inline int pgd_large(pgd_t pgd) { return 0; }
185 185
186/* PUD - Level3 access */ 186/* PUD - Level3 access */
187/* to find an entry in a page-table-directory. */ 187/* to find an entry in a page-table-directory. */
188#define pud_page(pud) (pfn_to_page(pud_val((pud)) >> PAGE_SHIFT))
189#define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) 188#define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
190#define pud_offset(pgd, address) \ 189#define pud_offset(pgd, address) \
191 ((pud_t *)pgd_page_vaddr(*(pgd)) + pud_index((address))) 190 ((pud_t *)pgd_page_vaddr(*(pgd)) + pud_index((address)))