summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable_64.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 11:30:48 -0800
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 12:31:07 -0800
commit5ba7c91341be61e0942f792c237ac067d9f32f51 (patch)
treef4c823f02eef1ab39749f9cec5e86da950ea546b /arch/x86/include/asm/pgtable_64.h
parent7c683851d96c8313586c0695b25ca41bde9f0f73 (diff)
downloadop-kernel-dev-5ba7c91341be61e0942f792c237ac067d9f32f51.zip
op-kernel-dev-5ba7c91341be61e0942f792c237ac067d9f32f51.tar.gz
x86: unify pud_present
Impact: cleanup Unify and demacro pud_present. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
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 35b8dbc..acdc27b 100644
--- a/arch/x86/include/asm/pgtable_64.h
+++ b/arch/x86/include/asm/pgtable_64.h
@@ -194,7 +194,6 @@ static inline int pgd_large(pgd_t pgd) { return 0; }
#define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
#define pud_offset(pgd, address) \
((pud_t *)pgd_page_vaddr(*(pgd)) + pud_index((address)))
-#define pud_present(pud) (pud_val((pud)) & _PAGE_PRESENT)
static inline int pud_large(pud_t pte)
{
OpenPOWER on IntegriCloud