# HG changeset patch # User Matthew Daley # Date 1352715420 0 # Node ID 279bbf2a0b485fce18af26473eca5e60d794c17b # Parent fdb69dd527cd01a46f87efb380050559dcf12d37 x86/mm x86 shadow: Fix typo in sh_invlpg sl3 page presence check Signed-off-by: Matthew Daley Acked-by: Tim Deegan Committed-by: Tim Deegan --- a/xen/arch/x86/mm/shadow/multi.c +++ b/xen/arch/x86/mm/shadow/multi.c @@ -3665,7 +3665,7 @@ sh_invlpg(struct vcpu *v, unsigned long 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 */