Message ID | 4E1CA7D6.4090203@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/12/2011 11:00 PM, Jan Kiszka wrote: > From: Jan Kiszka<jan.kiszka@siemens.com> > > Comparison takes precedence over bitwise&, but the latter needs to be > evaluated first here. > Thanks, applied. > Avi, how's your 32-bit buildbot? Seems to be working perfectly.
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d3d188e..9335e1b 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -448,7 +448,7 @@ static bool __check_direct_spte_mmio_pf(u64 spte) /* It is valid if the spte is being zapped. */ if (sspte.spte_low == 0ull && - sspte.spte_high & high_mmio_mask == high_mmio_mask) + (sspte.spte_high & high_mmio_mask) == high_mmio_mask) return true; return false;