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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Nixon
Date: Wednesday, September 3, 2008 - 6:36 am

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

Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/mm/init_32.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index b5c1751..113ec2f 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -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
-- 
1.5.4.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86/paravirt: Remove duplicate paravirt_pagetable_ ..., Alex Nixon, (Wed Sep 3, 6:36 am)
Re: [PATCH] x86/paravirt: Remove duplicate paravirt_pageta ..., Jeremy Fitzhardinge, (Fri Sep 12, 2:19 pm)