summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.h
diff options
context:
space:
mode:
authorHaitao Shan <hshan@google.com>2019-11-06 13:39:17 -0800
committerHaitao Shan <hshan@google.com>2019-11-06 13:39:17 -0800
commit5e1e4edf91bbd320dfd914b210a2f47d5533ac50 (patch)
tree54207657ffc86c9fc508046324aeded789325b34 /arch/x86/kvm/pmu.h
parentd9c0b9070fc0aca672f828bc7c34c093fca059a0 (diff)
downloadaehd-5e1e4edf91bbd320dfd914b210a2f47d5533ac50.tar.gz
Android Emulator Hypervisor Driver for AMD Processors 1.0
Diffstat (limited to 'arch/x86/kvm/pmu.h')
-rwxr-xr-x[-rw-r--r--]arch/x86/kvm/pmu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kvm/pmu.h b/arch/x86/kvm/pmu.h
index f96e1f9..1025403 100644..100755
--- a/arch/x86/kvm/pmu.h
+++ b/arch/x86/kvm/pmu.h
@@ -1,6 +1,8 @@
#ifndef __KVM_X86_PMU_H
#define __KVM_X86_PMU_H
+#if 0
+
#define vcpu_to_pmu(vcpu) (&(vcpu)->arch.pmu)
#define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu))
#define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu)
@@ -115,4 +117,6 @@ void kvm_pmu_destroy(struct kvm_vcpu *vcpu);
extern struct kvm_pmu_ops intel_pmu_ops;
extern struct kvm_pmu_ops amd_pmu_ops;
+#endif
+
#endif /* __KVM_X86_PMU_H */