]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] i386: PARAVIRT: flush lazy mmu updates on kunmap_atomic
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 2 May 2007 17:27:15 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:15 +0000 (19:27 +0200)
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>
arch/i386/mm/highmem.c

index a1a21abf742ebc9b4926ab4bf334da2d59cf37c9..ad8d86cc683ee3f6786142c86a95f1fffb7e4f94 100644 (file)
@@ -72,6 +72,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type)
 #endif
        }
 
+       arch_flush_lazy_mmu_mode();
        pagefault_enable();
 }