]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/mm/ioremap.c
x86: fix early_ioremap pagetable ops
[linux-2.6-omap-h63xx.git] / arch / x86 / mm / ioremap.c
index ac9ab20d8092dbd643120cd0a3fed56673786b31..ed795721ca8ea2e9d81c4b2dbca082efb2262126 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/fixmap.h>
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>
 
 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();
 }