vpmu: cleanup structures
PATCH 1/1 vpmu: cleanup structures
Hi,
a small cleanup of vpmu structures:
- struct msr_load_store_entry is unused
- struct pmumsr is only used in the vmx part
Dietmar.
Signed-off-by Dietmar Hahn <[email protected]>
# HG changeset patch
# Parent a7bacdc5449a2f7bb9c35b2a1334b463fe9f29a9
xen/arch/x86/hvm/vmx/vpmu_core2.c +5 -0
@@ -112,6 +112,11 @@ u32 core2_ctrls_msr[] = {MSR_IA32_PEBS_ENABLE , MSR_IA32_DS_AREA}; +struct pmumsr { +unsigned int num; +u32 *msr; +}; +struct pmumsr core2_counters = {3 , core2_counters_msr
xen/include/asm-x86/hvm/vpmu.h +0 -10
@@ -34,16 +34,6 @@#define MSR_TYPE_ARCH_COUNTER 3#define MSR_TYPE_ARCH_CTRL 4 -struct pmumsr { -unsigned int num; -u32 *msr; -}; - -struct msr_load_store_entry { -u32 msr_index; -u32 msr_reserved; -u64 msr_data; -};/* Arch specific operations shared by all vpmus */ struct arch_vpmu_ops {
Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html