[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Fix an inverted flags conversion in map_page_to_xen()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1225972091 0
# Node ID 6b6610c115fc4b0ae75fbbd768e3b01c81152c5f
# Parent  3af208e6f85013efd12265892998ca357457b9d7
x86: Fix an inverted flags conversion in map_page_to_xen()
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3af208e6f850 -r 6b6610c115fc xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Thu Nov 06 11:07:02 2008 +0000
+++ b/xen/arch/x86/mm.c Thu Nov 06 11:48:11 2008 +0000
@@ -4294,7 +4294,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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.