|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] 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 <dietmar.hahn@xxxxxxxxxxxxxx>
# HG changeset patch
# Parent a7bacdc5449a2f7bb9c35b2a1334b463fe9f29a9
diff -r a7bacdc5449a xen/arch/x86/hvm/vmx/vpmu_core2.c
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c Mon Feb 27 17:05:18 2012 +0000
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c Wed Feb 29 10:42:56 2012 +0100
@@ -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
diff -r a7bacdc5449a xen/include/asm-x86/hvm/vpmu.h
--- a/xen/include/asm-x86/hvm/vpmu.h Mon Feb 27 17:05:18 2012 +0000
+++ b/xen/include/asm-x86/hvm/vpmu.h Wed Feb 29 10:42:56 2012 +0100
@@ -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 {
--
Company details: http://ts.fujitsu.com/imprint.html
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |