]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/oprofile/op_model_ppro.c
perf: Do the big rename: Performance Counters -> Performance Events
[net-next-2.6.git] / arch / x86 / oprofile / op_model_ppro.c
index 4899215999de1ed4fda390635c1234e7d62abed7..8eb05878554cf382a0cf482947a8ebf7a93fdeeb 100644 (file)
@@ -234,11 +234,11 @@ static void arch_perfmon_setup_counters(void)
        if (eax.split.version_id == 0 && current_cpu_data.x86 == 6 &&
                current_cpu_data.x86_model == 15) {
                eax.split.version_id = 2;
-               eax.split.num_counters = 2;
+               eax.split.num_events = 2;
                eax.split.bit_width = 40;
        }
 
-       num_counters = eax.split.num_counters;
+       num_counters = eax.split.num_events;
 
        op_arch_perfmon_spec.num_counters = num_counters;
        op_arch_perfmon_spec.num_controls = num_counters;