diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-01-30 07:34:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:11 -0500 |
commit | f6df72e71eba621b2f5c49b3a763116fac748f6e (patch) | |
tree | 8f0ca692ba8380992004801a51ca6ec9947d7af1 /arch | |
parent | e3ed910db221768f8fd6192b13373e17d61bcdf0 (diff) |
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 <jeremy@xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/ioremap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index ac9ab20d8092..ed795721ca8e 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <asm/fixmap.h> | 18 | #include <asm/fixmap.h> |
19 | #include <asm/pgtable.h> | 19 | #include <asm/pgtable.h> |
20 | #include <asm/tlbflush.h> | 20 | #include <asm/tlbflush.h> |
21 | #include <asm/pgalloc.h> | ||
21 | 22 | ||
22 | enum ioremap_mode { | 23 | enum ioremap_mode { |
23 | IOR_MODE_UNCACHED, | 24 | IOR_MODE_UNCACHED, |
@@ -326,6 +327,7 @@ void __init early_ioremap_clear(void) | |||
326 | 327 | ||
327 | pgd = early_ioremap_pgd(fix_to_virt(FIX_BTMAP_BEGIN)); | 328 | pgd = early_ioremap_pgd(fix_to_virt(FIX_BTMAP_BEGIN)); |
328 | *pgd = 0; | 329 | *pgd = 0; |
330 | paravirt_release_pt(__pa(pgd) >> PAGE_SHIFT); | ||
329 | __flush_tlb_all(); | 331 | __flush_tlb_all(); |
330 | } | 332 | } |
331 | 333 | ||