diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 13:27:15 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:15 -0400 |
commit | 7b2f27f4e1818fad980da7bea688dca2b9e9c3f3 (patch) | |
tree | 66c0a8c4a508eb679cd4ef9d1378c9542d5bbd05 /arch/i386/mm | |
parent | ce6234b5298902aaec831a67d5f8d9bd2ef5a488 (diff) |
[PATCH] i386: PARAVIRT: flush lazy mmu updates on kunmap_atomic
kunmap_atomic should flush any pending lazy mmu updates, mainly to be
consistent with kmap_atomic, and to preserve its normal behaviour.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/mm')
-rw-r--r-- | arch/i386/mm/highmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/mm/highmem.c b/arch/i386/mm/highmem.c index a1a21abf742e..ad8d86cc683e 100644 --- a/arch/i386/mm/highmem.c +++ b/arch/i386/mm/highmem.c | |||
@@ -72,6 +72,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type) | |||
72 | #endif | 72 | #endif |
73 | } | 73 | } |
74 | 74 | ||
75 | arch_flush_lazy_mmu_mode(); | ||
75 | pagefault_enable(); | 76 | pagefault_enable(); |
76 | } | 77 | } |
77 | 78 | ||