diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-05 14:31:14 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 15:31:51 -0500 |
commit | 7325cc2e333cdaaabd2103552458876ea85adb33 (patch) | |
tree | 1640e3993318aecac8213b5a0b0d662b9c004f6b /arch/x86/include/asm/pgtable_64.h | |
parent | deb79cfb365c96ff960570d1bcf2c205424b6195 (diff) |
x86: unify pgd_none
Impact: cleanup
Unify and demacro pgd_none.
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 d58c2ee15c3c..3b92a4ca4030 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h | |||
@@ -67,8 +67,6 @@ extern void paging_init(void); | |||
67 | printk("%s:%d: bad pgd %p(%016lx).\n", \ | 67 | printk("%s:%d: bad pgd %p(%016lx).\n", \ |
68 | __FILE__, __LINE__, &(e), pgd_val(e)) | 68 | __FILE__, __LINE__, &(e), pgd_val(e)) |
69 | 69 | ||
70 | #define pgd_none(x) (!pgd_val(x)) | ||
71 | |||
72 | struct mm_struct; | 70 | struct mm_struct; |
73 | 71 | ||
74 | void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte); | 72 | void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte); |