Skip to content

Commit

Permalink
x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start, done}()
Browse files Browse the repository at this point in the history
They were already called once in arch/x86/kernel/setup.c - we don't need to call them again.

fixes:

  http://bugzilla.kernel.org/show_bug.cgi?id=11485

Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Alex Nixon authored and Ingo Molnar committed Sep 14, 2008
1 parent 5670a43 commit 5132895
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,7 @@ static void __init pagetable_init(void)
{
pgd_t *pgd_base = swapper_pg_dir;

paravirt_pagetable_setup_start(pgd_base);

permanent_kmaps_init(pgd_base);

paravirt_pagetable_setup_done(pgd_base);
}

#ifdef CONFIG_ACPI_SLEEP
Expand Down

0 comments on commit 5132895

Please sign in to comment.