Commit 2904a527 authored by Robert Richter's avatar Robert Richter

x86/oprofile: Remove unused num_virt_controls from struct op_x86_model_spec

The member num_virt_controls of struct op_x86_model_spec is not
used. This patch removes it.
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 259a83a8
...@@ -530,7 +530,6 @@ struct op_x86_model_spec op_amd_spec = { ...@@ -530,7 +530,6 @@ struct op_x86_model_spec op_amd_spec = {
.num_counters = NUM_COUNTERS, .num_counters = NUM_COUNTERS,
.num_controls = NUM_CONTROLS, .num_controls = NUM_CONTROLS,
.num_virt_counters = NUM_VIRT_COUNTERS, .num_virt_counters = NUM_VIRT_COUNTERS,
.num_virt_controls = NUM_VIRT_CONTROLS,
.reserved = MSR_AMD_EVENTSEL_RESERVED, .reserved = MSR_AMD_EVENTSEL_RESERVED,
.event_mask = OP_EVENT_MASK, .event_mask = OP_EVENT_MASK,
.init = op_amd_init, .init = op_amd_init,
......
...@@ -699,7 +699,6 @@ struct op_x86_model_spec op_p4_ht2_spec = { ...@@ -699,7 +699,6 @@ struct op_x86_model_spec op_p4_ht2_spec = {
.num_counters = NUM_COUNTERS_HT2, .num_counters = NUM_COUNTERS_HT2,
.num_controls = NUM_CONTROLS_HT2, .num_controls = NUM_CONTROLS_HT2,
.num_virt_counters = NUM_COUNTERS_HT2, .num_virt_counters = NUM_COUNTERS_HT2,
.num_virt_controls = NUM_CONTROLS_HT2,
.fill_in_addresses = &p4_fill_in_addresses, .fill_in_addresses = &p4_fill_in_addresses,
.setup_ctrs = &p4_setup_ctrs, .setup_ctrs = &p4_setup_ctrs,
.check_ctrs = &p4_check_ctrs, .check_ctrs = &p4_check_ctrs,
...@@ -713,7 +712,6 @@ struct op_x86_model_spec op_p4_spec = { ...@@ -713,7 +712,6 @@ struct op_x86_model_spec op_p4_spec = {
.num_counters = NUM_COUNTERS_NON_HT, .num_counters = NUM_COUNTERS_NON_HT,
.num_controls = NUM_CONTROLS_NON_HT, .num_controls = NUM_CONTROLS_NON_HT,
.num_virt_counters = NUM_COUNTERS_NON_HT, .num_virt_counters = NUM_COUNTERS_NON_HT,
.num_virt_controls = NUM_CONTROLS_NON_HT,
.fill_in_addresses = &p4_fill_in_addresses, .fill_in_addresses = &p4_fill_in_addresses,
.setup_ctrs = &p4_setup_ctrs, .setup_ctrs = &p4_setup_ctrs,
.check_ctrs = &p4_check_ctrs, .check_ctrs = &p4_check_ctrs,
......
...@@ -207,7 +207,6 @@ struct op_x86_model_spec op_ppro_spec = { ...@@ -207,7 +207,6 @@ struct op_x86_model_spec op_ppro_spec = {
.num_counters = 2, .num_counters = 2,
.num_controls = 2, .num_controls = 2,
.num_virt_counters = 2, .num_virt_counters = 2,
.num_virt_controls = 2,
.reserved = MSR_PPRO_EVENTSEL_RESERVED, .reserved = MSR_PPRO_EVENTSEL_RESERVED,
.fill_in_addresses = &ppro_fill_in_addresses, .fill_in_addresses = &ppro_fill_in_addresses,
.setup_ctrs = &ppro_setup_ctrs, .setup_ctrs = &ppro_setup_ctrs,
......
...@@ -37,7 +37,6 @@ struct op_x86_model_spec { ...@@ -37,7 +37,6 @@ struct op_x86_model_spec {
unsigned int num_counters; unsigned int num_counters;
unsigned int num_controls; unsigned int num_controls;
unsigned int num_virt_counters; unsigned int num_virt_counters;
unsigned int num_virt_controls;
u64 reserved; u64 reserved;
u16 event_mask; u16 event_mask;
int (*init)(struct oprofile_operations *ops); int (*init)(struct oprofile_operations *ops);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment