Commit c005bcd1 authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Russell King

[PATCH] PAE compile fix

Fix PMD typo
parent f1b1a146
...@@ -54,7 +54,7 @@ static pmd_t * __init one_md_table_init(pgd_t *pgd) ...@@ -54,7 +54,7 @@ static pmd_t * __init one_md_table_init(pgd_t *pgd)
#if CONFIG_X86_PAE #if CONFIG_X86_PAE
pmd_table = (pmd_t *) alloc_bootmem_low_pages(PAGE_SIZE); pmd_table = (pmd_t *) alloc_bootmem_low_pages(PAGE_SIZE);
set_pgd(pgd, __pgd(__pa(md_table) | _PAGE_PRESENT)); set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT));
if (pmd_table != pmd_offset(pgd, 0)) if (pmd_table != pmd_offset(pgd, 0))
BUG(); BUG();
#else #else
......
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