xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check
@ 2012-11-12 10:00 Matthew Daley
  2012-11-12 10:18 ` Tim Deegan
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Daley @ 2012-11-12 10:00 UTC (permalink / raw)
  To: xen-devel; +Cc: Matthew Daley


Signed-off-by: Matthew Daley <mattjd@gmail.com>

diff --git a/xen/arch/x86/mm/shadow/multi.c b/xen/arch/x86/mm/shadow/multi.c
index b0e6d72..39cb7de 100644
--- a/xen/arch/x86/mm/shadow/multi.c
+++ b/xen/arch/x86/mm/shadow/multi.c
@@ -3505,7 +3505,7 @@ sh_invlpg(struct vcpu *v, unsigned long va)
             perfc_incr(shadow_invlpg_fault);
             return 0;
         }
-        if ( (!shadow_l3e_get_flags(sl3e) & _PAGE_PRESENT) )
+        if ( !(shadow_l3e_get_flags(sl3e) & _PAGE_PRESENT) )
             return 0;
     }
 #else /* SHADOW_PAGING_LEVELS == 3 */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check
  2012-11-12 10:00 [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check Matthew Daley
@ 2012-11-12 10:18 ` Tim Deegan
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Deegan @ 2012-11-12 10:18 UTC (permalink / raw)
  To: Matthew Daley; +Cc: xen-devel

At 23:00 +1300 on 12 Nov (1352761218), Matthew Daley wrote:
> Signed-off-by: Matthew Daley <mattjd@gmail.com>

Applied, thanks.

Tim.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-12 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 10:00 [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check Matthew Daley
2012-11-12 10:18 ` Tim Deegan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).