From: Jeremy Fitzhardinge Date: Wed, 30 Jan 2008 12:34:11 +0000 (+0100) Subject: x86: fix early_ioremap pagetable ops X-Git-Tag: v2.6.25-rc1~1143^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f6df72e71eba621b2f5c49b3a763116fac748f6e;p=linux-2.6-omap-h63xx.git x86: fix early_ioremap pagetable ops Put appropriate pagetable update hooks in so that paravirt knows what's going on in there. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index ac9ab20d809..ed795721ca8 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -18,6 +18,7 @@ #include #include #include +#include enum ioremap_mode { IOR_MODE_UNCACHED, @@ -326,6 +327,7 @@ void __init early_ioremap_clear(void) pgd = early_ioremap_pgd(fix_to_virt(FIX_BTMAP_BEGIN)); *pgd = 0; + paravirt_release_pt(__pa(pgd) >> PAGE_SHIFT); __flush_tlb_all(); }