summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@codemonkey.org.uk>2003-01-08 02:55:12 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-08 02:55:12 -0800
commit70fc9b9e686a27700b83c8ef5c991fc4838af99f (patch)
tree543293145a19dd22341b5d294ebc34dc1be14b85
parent74d0b9522cdaba1b59eb6716f4efa19b09f02053 (diff)
[PATCH] x86-64 pmd corruption fix.
Silly typo caused strange corruption. With this fixed, agpgart almost works again on x86-64 (change_page_attr() seems broken there)
-rw-r--r--arch/x86_64/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index 914738b3355e..8640d219969f 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -161,7 +161,7 @@ static struct temp_map {
} temp_mappings[] __initdata = {
{ &temp_boot_pmds[0], (void *)(40UL * 1024 * 1024) },
{ &temp_boot_pmds[1], (void *)(42UL * 1024 * 1024) },
- { &temp_boot_pmds[1], (void *)(44UL * 1024 * 1024) },
+ { &temp_boot_pmds[2], (void *)(44UL * 1024 * 1024) },
{}
};