summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable_64.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 11:31:10 -0800
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 12:31:50 -0800
commita61bb29af47b0e4052566d25f3391894306a23fd (patch)
treea1e2db3bbd1eda1e7616d20175d04050fc018156 /arch/x86/include/asm/pgtable_64.h
parent30f103167fcf2b08de64f5f37ece6bfff7392290 (diff)
downloadblackbird-obmc-linux-a61bb29af47b0e4052566d25f3391894306a23fd.tar.gz
blackbird-obmc-linux-a61bb29af47b0e4052566d25f3391894306a23fd.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.h5
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 1dfc44932f65..fe8be33df3da 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 pud_bad(pud_t pud)
-{
- return (pud_val(pud) & ~(PTE_PFN_MASK | _PAGE_USER)) != _KERNPG_TABLE;
-}
-
static inline int pmd_bad(pmd_t pmd)
{
return (pmd_val(pmd) & ~(PTE_PFN_MASK | _PAGE_USER)) != _KERNPG_TABLE;
OpenPOWER on IntegriCloud