diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/e500_tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c index 72386ddbd9d5..ec933209e8af 100644 --- a/arch/powerpc/kvm/e500_tlb.c +++ b/arch/powerpc/kvm/e500_tlb.c | |||
@@ -448,7 +448,7 @@ int kvmppc_e500_emul_tlbre(struct kvm_vcpu *vcpu) | |||
448 | esel = get_tlb_esel(vcpu_e500, tlbsel); | 448 | esel = get_tlb_esel(vcpu_e500, tlbsel); |
449 | 449 | ||
450 | gtlbe = &vcpu_e500->guest_tlb[tlbsel][esel]; | 450 | gtlbe = &vcpu_e500->guest_tlb[tlbsel][esel]; |
451 | vcpu_e500->mas0 &= MAS0_NV(0); | 451 | vcpu_e500->mas0 &= ~MAS0_NV(~0); |
452 | vcpu_e500->mas0 |= MAS0_NV(vcpu_e500->guest_tlb_nv[tlbsel]); | 452 | vcpu_e500->mas0 |= MAS0_NV(vcpu_e500->guest_tlb_nv[tlbsel]); |
453 | vcpu_e500->mas1 = gtlbe->mas1; | 453 | vcpu_e500->mas1 = gtlbe->mas1; |
454 | vcpu_e500->mas2 = gtlbe->mas2; | 454 | vcpu_e500->mas2 = gtlbe->mas2; |