diff options
author | Robert Richter <robert.richter@amd.com> | 2009-05-27 20:12:36 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-06-11 10:09:54 -0400 |
commit | 06552ccc36abeb12e37efc16c384dc7f30794f85 (patch) | |
tree | 6e44f314bb80657917b21396b84c3472d70c25fc /arch/x86/oprofile/op_x86_model.h | |
parent | e419294ed3c98cccc145202e4fe165bfd8099d63 (diff) |
x86/oprofile: minor style changes in struct op_x86_model_spec
Some vertical alignments. Variables are now located in the beginning
of the struct.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/op_x86_model.h')
-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; |