All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: fix an inverted page table entry flags translation
@ 2008-11-05 16:03 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2008-11-05 16:03 UTC (permalink / raw)
  To: xen-devel

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-05 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 16:03 [PATCH] x86: fix an inverted page table entry flags translation Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.