Skip to content
Commit e419294e authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent 849620fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment