Loading drivers/kvm/mmu.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -1171,6 +1171,7 @@ void kvm_mmu_pre_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes) * and zap two pdes instead of one. * and zap two pdes instead of one. */ */ if (level == PT32_ROOT_LEVEL) { if (level == PT32_ROOT_LEVEL) { page_offset &= ~7; /* kill rounding error */ page_offset <<= 1; page_offset <<= 1; npte = 2; npte = 2; } } Loading Loading
drivers/kvm/mmu.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -1171,6 +1171,7 @@ void kvm_mmu_pre_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes) * and zap two pdes instead of one. * and zap two pdes instead of one. */ */ if (level == PT32_ROOT_LEVEL) { if (level == PT32_ROOT_LEVEL) { page_offset &= ~7; /* kill rounding error */ page_offset <<= 1; page_offset <<= 1; npte = 2; npte = 2; } } Loading