Skip to content

Commit efd327a

Browse files
Alex NixonIngo Molnar
authored andcommitted
x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start, done}()
They were already called once in arch/x86/kernel/setup.c - we don't need to call them again. Signed-off-by: Alex Nixon <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent f863993 commit efd327a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/mm/init_32.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,7 @@ static void __init pagetable_init(void)
458458
{
459459
pgd_t *pgd_base = swapper_pg_dir;
460460

461-
paravirt_pagetable_setup_start(pgd_base);
462-
463461
permanent_kmaps_init(pgd_base);
464-
465-
paravirt_pagetable_setup_done(pgd_base);
466462
}
467463

468464
#ifdef CONFIG_ACPI_SLEEP

0 commit comments

Comments
 (0)