x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start, done}()
authorAlex Nixon <alex.nixon@citrix.com>
Wed, 3 Sep 2008 13:36:40 +0000 (14:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 16:10:01 +0000 (18:10 +0200)
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>
arch/x86/mm/init_32.c

index d37f29376b0ce455ae3907051a58779f4b995a25..60ec1d08ff24b6a03917e957d707b183b1b776e6 100644 (file)
@@ -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