diff options
author | Sasikantha babu <sasikanth.v19@gmail.com> | 2012-03-21 14:19:00 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-05 18:04:08 +0200 |
commit | fea5295324ce7ce6ccfe0909cc6740a2d34aa5a3 (patch) | |
tree | 5432558aed1b50dc42f863e357086965e2898c80 | |
parent | Merge branch 'drm-prime-dmabuf-initial' of git://people.freedesktop.org/~airl... (diff) | |
download | linux-fea5295324ce7ce6ccfe0909cc6740a2d34aa5a3.tar.xz linux-fea5295324ce7ce6ccfe0909cc6740a2d34aa5a3.zip |
KVM: PMU: Fix integer constant is too large warning in kvm_pmu_set_msr()
Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | arch/x86/kvm/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c index a73f0c104813..173df38dbda5 100644 --- a/arch/x86/kvm/pmu.c +++ b/arch/x86/kvm/pmu.c @@ -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; } |