summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable-3level.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 20:30:48 +0100
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 21:31:07 +0100
commit5ba7c91341be61e0942f792c237ac067d9f32f51 (patch)
treef4c823f02eef1ab39749f9cec5e86da950ea546b /arch/x86/include/asm/pgtable-3level.h
parentx86: unify pte_present (diff)
downloadlinux-5ba7c91341be61e0942f792c237ac067d9f32f51.tar.xz
linux-5ba7c91341be61e0942f792c237ac067d9f32f51.zip
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-3level.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h
index 51832fa04743..524bd91b9952 100644
--- a/arch/x86/include/asm/pgtable-3level.h
+++ b/arch/x86/include/asm/pgtable-3level.h
@@ -28,11 +28,6 @@ static inline int pud_bad(pud_t pud)
return (pud_val(pud) & ~(PTE_PFN_MASK | _KERNPG_TABLE | _PAGE_USER)) != 0;
}
-static inline int pud_present(pud_t pud)
-{
- return pud_val(pud) & _PAGE_PRESENT;
-}
-
/* Rules for using set_pte: the pte being assigned *must* be
* either not present or in a state where the hardware will
* not attempt to update the pte. In places where this is