projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kvm
/
pmu.c
diff --git
a/arch/x86/kvm/pmu.c
b/arch/x86/kvm/pmu.c
index
cd923ba
..
b1a0299
100644
(file)
--- a/
arch/x86/kvm/pmu.c
+++ b/
arch/x86/kvm/pmu.c
@@
-221,7
+221,7
@@
void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel)
}
if (type == PERF_TYPE_RAW)
- config = eventsel &
X86
_RAW_EVENT_MASK;
+ config = eventsel &
AMD64
_RAW_EVENT_MASK;
if (pmc->current_config == eventsel && pmc_resume_counter(pmc))
return;