Matthew Daley
2012-Nov-12 10:00 UTC
[PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check
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