projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6e1cb
)
KVM: PMU: Fix integer constant is too large warning in kvm_pmu_set_msr()
author
Sasikantha babu
<sasikanth.v19@gmail.com>
Wed, 21 Mar 2012 13:19:00 +0000
(18:49 +0530)
committer
Avi Kivity
<avi@redhat.com>
Thu, 5 Apr 2012 16:04:08 +0000
(19:04 +0300)
Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/pmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/pmu.c
b/arch/x86/kvm/pmu.c
index a73f0c1048137062417b43e59785546c38b0dcd5..173df38dbda5b5fba0e86658692cd40faa8e8145 100644
(file)
--- 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 & 0xfffffffffffff444
ull
)) {
reprogram_fixed_counters(pmu, data);
return 0;
}