Jan Beulich
2008-Nov-05 16:03 UTC
[Xen-devel] [PATCH] x86: fix an inverted page table entry flags translation
Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2008-10-27/xen/arch/x86/mm.c ==================================================================--- 2008-10-27.orig/xen/arch/x86/mm.c 2008-10-31 17:41:12.000000000 +0100 +++ 2008-10-27/xen/arch/x86/mm.c 2008-11-05 15:48:34.000000000 +0100 @@ -4225,7 +4225,7 @@ int map_pages_to_xen( { if ( l3e_get_flags(ol3e) & _PAGE_GLOBAL ) flush_flags |= FLUSH_TLB_GLOBAL; - if ( (l1f_to_lNf(l3e_get_flags(ol3e)) ^ flags) & + if ( (lNf_to_l1f(l3e_get_flags(ol3e)) ^ flags) & PAGE_CACHE_ATTRS ) flush_flags |= FLUSH_CACHE; flush_area(virt, flush_flags); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel