diff options
Diffstat (limited to 'arch/x86/include/asm/pgtable_64.h')
-rw-r--r-- | arch/x86/include/asm/pgtable_64.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h index a8bfb75c76ab..a85ac14df35d 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h | |||
@@ -184,12 +184,6 @@ static inline int pgd_large(pgd_t pgd) { return 0; } | |||
184 | 184 | ||
185 | /* PUD - Level3 access */ | 185 | /* PUD - Level3 access */ |
186 | 186 | ||
187 | static inline int pud_large(pud_t pte) | ||
188 | { | ||
189 | return (pud_val(pte) & (_PAGE_PSE | _PAGE_PRESENT)) == | ||
190 | (_PAGE_PSE | _PAGE_PRESENT); | ||
191 | } | ||
192 | |||
193 | /* PMD - Level 2 access */ | 187 | /* PMD - Level 2 access */ |
194 | #define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT) | 188 | #define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT) |
195 | #define pgoff_to_pte(off) ((pte_t) { .pte = ((off) << PAGE_SHIFT) | \ | 189 | #define pgoff_to_pte(off) ((pte_t) { .pte = ((off) << PAGE_SHIFT) | \ |