x86/oprofile: moving arch_perfmon counter setup to op_x86_model_spec.init
authorRobert Richter <robert.richter@amd.com>
Sun, 12 Oct 2008 19:12:34 +0000 (15:12 -0400)
committerRobert Richter <robert.richter@amd.com>
Wed, 10 Jun 2009 20:09:24 +0000 (22:09 +0200)
commite419294ed3c98cccc145202e4fe165bfd8099d63
tree24eced48e81cc31765ac1a3a87eb75bed583e1fc
parent849620fab413355eff48232eac5a8c53c57615c5
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>
arch/x86/oprofile/nmi_int.c
arch/x86/oprofile/op_model_ppro.c
arch/x86/oprofile/op_x86_model.h