]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/oprofile/op_model_p4.c
Merge branch 'x86/oprofile' into oprofile
[karo-tx-linux.git] / arch / x86 / oprofile / op_model_p4.c
index 43ac5af338d8c910c2295a7484453ab6b8a01b2a..cacba61ffbac86672d07a66e517a12e6ba616371 100644 (file)
@@ -700,6 +700,8 @@ static void p4_shutdown(struct op_msrs const * const msrs)
 struct op_x86_model_spec const op_p4_ht2_spec = {
        .num_counters = NUM_COUNTERS_HT2,
        .num_controls = NUM_CONTROLS_HT2,
+       .num_hardware_counters = NUM_COUNTERS_HT2,
+       .num_hardware_controls = NUM_CONTROLS_HT2,
        .fill_in_addresses = &p4_fill_in_addresses,
        .setup_ctrs = &p4_setup_ctrs,
        .check_ctrs = &p4_check_ctrs,
@@ -712,6 +714,8 @@ struct op_x86_model_spec const op_p4_ht2_spec = {
 struct op_x86_model_spec const op_p4_spec = {
        .num_counters = NUM_COUNTERS_NON_HT,
        .num_controls = NUM_CONTROLS_NON_HT,
+       .num_hardware_counters = NUM_COUNTERS_NON_HT,
+       .num_hardware_controls = NUM_CONTROLS_NON_HT,
        .fill_in_addresses = &p4_fill_in_addresses,
        .setup_ctrs = &p4_setup_ctrs,
        .check_ctrs = &p4_check_ctrs,