diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-05 11:31:09 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 12:31:50 -0800 |
commit | 30f103167fcf2b08de64f5f37ece6bfff7392290 (patch) | |
tree | 7e99ef357c99e8663b88fc684a20536bcd451e43 /arch/x86/include/asm/pgtable_64.h | |
parent | 3f6cbef1d7f474d16f3a824c6d2910d930778fbd (diff) | |
download | blackbird-op-linux-30f103167fcf2b08de64f5f37ece6bfff7392290.tar.gz blackbird-op-linux-30f103167fcf2b08de64f5f37ece6bfff7392290.zip |
x86: unify pgd_bad
Impact: cleanup
Unify and demacro pgd_bad.
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 | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h index a85ac14df35d..1dfc44932f65 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h @@ -154,11 +154,6 @@ static inline void native_pgd_clear(pgd_t *pgd) #ifndef __ASSEMBLY__ -static inline int pgd_bad(pgd_t pgd) -{ - return (pgd_val(pgd) & ~(PTE_PFN_MASK | _PAGE_USER)) != _KERNPG_TABLE; -} - static inline int pud_bad(pud_t pud) { return (pud_val(pud) & ~(PTE_PFN_MASK | _PAGE_USER)) != _KERNPG_TABLE; |