Commit 70fc9b9e authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[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)
parent 74d0b952
...@@ -161,7 +161,7 @@ static struct temp_map { ...@@ -161,7 +161,7 @@ static struct temp_map {
} temp_mappings[] __initdata = { } temp_mappings[] __initdata = {
{ &temp_boot_pmds[0], (void *)(40UL * 1024 * 1024) }, { &temp_boot_pmds[0], (void *)(40UL * 1024 * 1024) },
{ &temp_boot_pmds[1], (void *)(42UL * 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) },
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment