From: Alex Nixon Date: Wed, 3 Sep 2008 13:36:40 +0000 (+0100) Subject: x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start, done}() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5132895f14a57607152f7865dc862fb076ce2585;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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. fixes: http://bugzilla.kernel.org/show_bug.cgi?id=11485 Signed-off-by: Alex Nixon Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index d37f29376b0c..60ec1d08ff24 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -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