aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-02-05 22:26:01 +0000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 14:37:14 -0800
commit8cb2a7c1e95e472b5ad8cbde4d5c7bb65c532603 (patch)
tree33d7131e1a39f7a65e852289bebb312938e79e0a /arch/x86
parent21511abd0a248a3f225d3b611cfabb93124605a7 (diff)
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 bb55a78dcd6..16ce841f08d 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;