Skip to contentSkip to conversation

x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start,done}()

PATCH Applied Alex Nixon 3 participants 4 messages Sep 3, 2008 – Sep 14, 2008

Subsystems (2)
lore
Share & tools
lore

Alex Nixon

author
#0 lore raw

PATCH 1/1 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.

Cc Jeremy Fitzhardinge <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 arch/x86/mm/init_32.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/x86/mm/init_32.c +0 -4
index b5c1751..113ec2f 100644
@@ -460,11 +460,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
Signature · 1 line
1.5.4.3
#3 lore raw
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 10 lines · Ingo Molnar
Quoted 6 lines · Alex Nixon

They were already called once in arch/x86/kernel/setup.c - we don't need to call them again.

Cc Jeremy Fitzhardinge <[email protected]>
Cc Ingo Molnar <[email protected]>
Quoted 5 lines
Quoted 2 lines

applied to tip/x86/paravirt - thanks.

This fixes a regression in -rc, so it should probably go to Linus. See
http://bugzilla.kernel.org/show_bug.cgi?id=11485

ok, i've cherry-picked it over into tip/x86/urgent.

Thanks,

Ingo