diff options
-rw-r--r-- | arch/x86/oprofile/op_x86_model.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index ed27783bb0d4..bd8157d12ff0 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h | |||
@@ -32,17 +32,17 @@ struct pt_regs; | |||
32 | * various x86 CPU models' perfctr support. | 32 | * various x86 CPU models' perfctr support. |
33 | */ | 33 | */ |
34 | struct op_x86_model_spec { | 34 | struct op_x86_model_spec { |
35 | int (*init)(struct oprofile_operations *ops); | 35 | unsigned int num_counters; |
36 | void (*exit)(void); | 36 | unsigned int num_controls; |
37 | unsigned int num_counters; | 37 | int (*init)(struct oprofile_operations *ops); |
38 | unsigned int num_controls; | 38 | void (*exit)(void); |
39 | void (*fill_in_addresses)(struct op_msrs * const msrs); | 39 | void (*fill_in_addresses)(struct op_msrs * const msrs); |
40 | void (*setup_ctrs)(struct op_msrs const * const msrs); | 40 | void (*setup_ctrs)(struct op_msrs const * const msrs); |
41 | int (*check_ctrs)(struct pt_regs * const regs, | 41 | int (*check_ctrs)(struct pt_regs * const regs, |
42 | struct op_msrs const * const msrs); | 42 | struct op_msrs const * const msrs); |
43 | void (*start)(struct op_msrs const * const msrs); | 43 | void (*start)(struct op_msrs const * const msrs); |
44 | void (*stop)(struct op_msrs const * const msrs); | 44 | void (*stop)(struct op_msrs const * const msrs); |
45 | void (*shutdown)(struct op_msrs const * const msrs); | 45 | void (*shutdown)(struct op_msrs const * const msrs); |
46 | }; | 46 | }; |
47 | 47 | ||
48 | extern struct op_x86_model_spec const op_ppro_spec; | 48 | extern struct op_x86_model_spec const op_ppro_spec; |