diff options
author | Robert Richter <robert.richter@amd.com> | 2008-10-12 15:12:34 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-06-10 22:09:24 +0200 |
commit | e419294ed3c98cccc145202e4fe165bfd8099d63 (patch) | |
tree | 24eced48e81cc31765ac1a3a87eb75bed583e1fc /arch/x86/oprofile/op_x86_model.h | |
parent | 849620fab413355eff48232eac5a8c53c57615c5 (diff) | |
download | linux-e419294ed3c98cccc145202e4fe165bfd8099d63.tar.gz linux-e419294ed3c98cccc145202e4fe165bfd8099d63.tar.bz2 linux-e419294ed3c98cccc145202e4fe165bfd8099d63.zip |
x86/oprofile: moving arch_perfmon counter setup to op_x86_model_spec.init
The function arch_perfmon_init() in nmi_int.c is model specific. This
patch moves it to op_model_ppro.c by using the init function pointer
in struct op_x86_model_spec.
Cc: Andi Kleen <ak@linux.intel.com>
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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 2317149c94f0..ed27783bb0d4 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h @@ -51,6 +51,4 @@ extern struct op_x86_model_spec const op_p4_ht2_spec; extern struct op_x86_model_spec const op_amd_spec; extern struct op_x86_model_spec op_arch_perfmon_spec; -extern void arch_perfmon_setup_counters(void); - #endif /* OP_X86_MODEL_H */ |