x86 shadow: Fix typo in sh_invlpg sl3 page presence check
PATCH 1/1 x86 shadow: Fix typo in sh_invlpg sl3 page presence check
Signed-off-by Matthew Daley <[email protected]>
xen/arch/x86/mm/shadow/multi.c +1 -1
@@ -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 */
Signature · 1 line
1.7.10.4