diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-01-30 07:34:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:11 -0500 |
commit | e3ed910db221768f8fd6192b13373e17d61bcdf0 (patch) | |
tree | 67a5eed4709a4b1b38e952af5bfc0340f78703af /include/asm-x86/pgtable.h | |
parent | fa28ba21cec24d3fa1279bcae7e5d5ff6224635a (diff) |
x86: use the same pgd_list for PAE and 64-bit
Use a standard list threaded through page->lru for maintaining the pgd
list on PAE. This is the same as 64-bit, and seems saner than using a
non-standard list via page->index.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable.h')
-rw-r--r-- | include/asm-x86/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 269e7e29ea8e..cd2524f07452 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h | |||
@@ -131,6 +131,8 @@ extern pteval_t __PAGE_KERNEL, __PAGE_KERNEL_EXEC; | |||
131 | extern unsigned long empty_zero_page[PAGE_SIZE/sizeof(unsigned long)]; | 131 | extern unsigned long empty_zero_page[PAGE_SIZE/sizeof(unsigned long)]; |
132 | #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) | 132 | #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) |
133 | 133 | ||
134 | extern spinlock_t pgd_lock; | ||
135 | extern struct list_head pgd_list; | ||
134 | 136 | ||
135 | /* | 137 | /* |
136 | * The following only work if pte_present() is true. | 138 | * The following only work if pte_present() is true. |