aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/include/asm/page_types.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-13 11:01:54 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-13 11:35:01 -0800
commit9b3651cbc26cfcea8276ecaff66718ea087f2e91 (patch)
treead5653060f1a0ea1981537cfa01719892ac14341 /arch/x86/include/asm/page_types.h
parentx86: use _types.h headers in asm where available (diff)
downloadwireguard-linux-9b3651cbc26cfcea8276ecaff66718ea087f2e91.tar.xz
wireguard-linux-9b3651cbc26cfcea8276ecaff66718ea087f2e91.zip
x86: move more pagetable-related definitions into pgtable*.h
PAGETABLE_LEVELS and the PTE masks should be in pgtable*.h Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/page_types.h')
-rw-r--r--arch/x86/include/asm/page_types.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/page_types.h b/arch/x86/include/asm/page_types.h
index 2c52ff767584..2d625da6603c 100644
--- a/arch/x86/include/asm/page_types.h
+++ b/arch/x86/include/asm/page_types.h
@@ -16,12 +16,6 @@
(ie, 32-bit PAE). */
#define PHYSICAL_PAGE_MASK (((signed long)PAGE_MASK) & __PHYSICAL_MASK)
-/* PTE_PFN_MASK extracts the PFN from a (pte|pmd|pud|pgd)val_t */
-#define PTE_PFN_MASK ((pteval_t)PHYSICAL_PAGE_MASK)
-
-/* PTE_FLAGS_MASK extracts the flags from a (pte|pmd|pud|pgd)val_t */
-#define PTE_FLAGS_MASK (~PTE_PFN_MASK)
-
#define PMD_PAGE_SIZE (_AC(1, UL) << PMD_SHIFT)
#define PMD_PAGE_MASK (~(PMD_PAGE_SIZE-1))