diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-05 11:30:45 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 12:28:37 -0800 |
commit | 7c683851d96c8313586c0695b25ca41bde9f0f73 (patch) | |
tree | 3de069c8293238ab5a6e3b2c60068b2ae807bace /arch/x86/include/asm/pgtable_64.h | |
parent | 8de01da35e9dbbb4a9d1e9d5a37df98395dfa558 (diff) | |
download | linux-7c683851d96c8313586c0695b25ca41bde9f0f73.tar.gz linux-7c683851d96c8313586c0695b25ca41bde9f0f73.tar.bz2 linux-7c683851d96c8313586c0695b25ca41bde9f0f73.zip |
x86: unify pte_present
Impact: cleanup
Unify and demacro pte_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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h index ff2571865bf7..35b8dbc068e0 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h @@ -169,8 +169,6 @@ static inline int pmd_bad(pmd_t pmd) return (pmd_val(pmd) & ~(PTE_PFN_MASK | _PAGE_USER)) != _KERNPG_TABLE; } -#define pte_present(x) (pte_val((x)) & (_PAGE_PRESENT | _PAGE_PROTNONE)) - #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) /* FIXME: is this right? */ /* |