aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/pgtable_32.h')
-rw-r--r--arch/x86/include/asm/pgtable_32.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/include/asm/pgtable_32.h b/arch/x86/include/asm/pgtable_32.h
index 8714110b4a78..40b066215bb8 100644
--- a/arch/x86/include/asm/pgtable_32.h
+++ b/arch/x86/include/asm/pgtable_32.h
@@ -105,15 +105,6 @@ extern unsigned long pg0[];
105static inline int pud_large(pud_t pud) { return 0; } 105static inline int pud_large(pud_t pud) { return 0; }
106 106
107/* 107/*
108 * the pmd page can be thought of an array like this: pmd_t[PTRS_PER_PMD]
109 *
110 * this macro returns the index of the entry in the pmd page which would
111 * control the given virtual address
112 */
113#define pmd_index(address) \
114 (((address) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
115
116/*
117 * the pte page can be thought of an array like this: pte_t[PTRS_PER_PTE] 108 * the pte page can be thought of an array like this: pte_t[PTRS_PER_PTE]
118 * 109 *
119 * this macro returns the index of the entry in the pte page which would 110 * this macro returns the index of the entry in the pte page which would