summaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_x86_model.h
diff options
context:
space:
mode:
authorRobert Richter2008-10-12 21:12:34 +0200
committerRobert Richter2009-06-10 22:09:24 +0200
commite419294ed3c98cccc145202e4fe165bfd8099d63 (patch)
tree24eced48e81cc31765ac1a3a87eb75bed583e1fc /arch/x86/oprofile/op_x86_model.h
parentRevert "oprofile: discover counters for op ppro too" (diff)
downloadkernel-qcow2-linux-e419294ed3c98cccc145202e4fe165bfd8099d63.tar.gz
kernel-qcow2-linux-e419294ed3c98cccc145202e4fe165bfd8099d63.tar.xz
kernel-qcow2-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.h2
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 */