Skip to contentSkip to conversation

2.5.29 PAE compilefix

PATCH William Lee Irwin III 1 participant 2 messages Jul 27, 2002

lore
Share & tools
lore
#0 lore raw

Haven't tried booting it yet, but here's the compilefix:

Cheers,
Bill

===== arch/i386/mm/init.c 1.22 vs edited =====

arch/i386/mm/init.c +1 -1
@@ -54,7 +54,7 @@
 		
 #if CONFIG_X86_PAE
 	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)) 
 		BUG();
 #else
#1 lore raw
Quoted 4 lines · William Lee Irwin III

Haven't tried booting it yet, but here's the compilefix:

Cheers,
Bill

It boots, appears to run properly (aside from the usual highmem caveats).

Cheers,
Bill