summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-02-06 01:26:01 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 01:37:14 +0300
commit8cb2a7c1e95e472b5ad8cbde4d5c7bb65c532603 (patch)
tree33d7131e1a39f7a65e852289bebb312938e79e0a /arch/x86
parent21511abd0a248a3f225d3b611cfabb93124605a7 (diff)
downloadlinux-8cb2a7c1e95e472b5ad8cbde4d5c7bb65c532603.tar.xz
stop c_p_a corrupting the pds
When change_page_attr splits a large page on x86_32 (without PAE), it is currently corrupting every process's page directory: fix that by removing the thinko which passes down a physical instead of a virtual address. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/pageattr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index bb55a78dcd62..16ce841f08d6 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -237,7 +237,6 @@ static void __set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte)
if (!SHARED_KERNEL_PMD) {
struct page *page;
- address = __pa(address);
list_for_each_entry(page, &pgd_list, lru) {
pgd_t *pgd;
pud_t *pud;