Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fea52953 authored by Sasikantha babu's avatar Sasikantha babu Committed by Avi Kivity
Browse files

KVM: PMU: Fix integer constant is too large warning in kvm_pmu_set_msr()

parent 7d6e1cb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -369,7 +369,7 @@ int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, u32 index, u64 data)
	case MSR_CORE_PERF_FIXED_CTR_CTRL:
		if (pmu->fixed_ctr_ctrl == data)
			return 0;
		if (!(data & 0xfffffffffffff444)) {
		if (!(data & 0xfffffffffffff444ull)) {
			reprogram_fixed_counters(pmu, data);
			return 0;
		}