]> git.hungrycats.org Git - linux/commitdiff
[PATCH] x86-64 pmd corruption fix.
authorDave Jones <davej@codemonkey.org.uk>
Wed, 8 Jan 2003 10:55:12 +0000 (02:55 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 8 Jan 2003 10:55:12 +0000 (02:55 -0800)
Silly typo caused strange corruption.

With this fixed, agpgart almost works again on x86-64
(change_page_attr() seems broken there)

arch/x86_64/mm/init.c

index 914738b3355e702178659f22abf4ca0477c6f1b1..8640d219969fd2d6485150c1de75cacf24fb9b34 100644 (file)
@@ -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) }, 
        {}
 };