diff options
Diffstat (limited to 'arch/x86/oprofile/op_model_ppro.c')
-rw-r--r-- | arch/x86/oprofile/op_model_ppro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/oprofile/op_model_ppro.c b/arch/x86/oprofile/op_model_ppro.c index 2bf90fafa7b..c8abc4d1bf3 100644 --- a/arch/x86/oprofile/op_model_ppro.c +++ b/arch/x86/oprofile/op_model_ppro.c | |||
@@ -239,11 +239,11 @@ static void arch_perfmon_setup_counters(void) | |||
239 | if (eax.split.version_id == 0 && current_cpu_data.x86 == 6 && | 239 | if (eax.split.version_id == 0 && current_cpu_data.x86 == 6 && |
240 | current_cpu_data.x86_model == 15) { | 240 | current_cpu_data.x86_model == 15) { |
241 | eax.split.version_id = 2; | 241 | eax.split.version_id = 2; |
242 | eax.split.num_events = 2; | 242 | eax.split.num_counters = 2; |
243 | eax.split.bit_width = 40; | 243 | eax.split.bit_width = 40; |
244 | } | 244 | } |
245 | 245 | ||
246 | num_counters = eax.split.num_events; | 246 | num_counters = eax.split.num_counters; |
247 | 247 | ||
248 | op_arch_perfmon_spec.num_counters = num_counters; | 248 | op_arch_perfmon_spec.num_counters = num_counters; |
249 | op_arch_perfmon_spec.num_controls = num_counters; | 249 | op_arch_perfmon_spec.num_controls = num_counters; |