x86/oprofile: pass the model to setup_ctrs() functions
authorRobert Richter <robert.richter@amd.com>
Mon, 25 May 2009 17:31:44 +0000 (19:31 +0200)
committerRobert Richter <robert.richter@amd.com>
Thu, 11 Jun 2009 17:42:14 +0000 (19:42 +0200)
commitef8828ddf828174785421af67c281144d4b8e796
tree28aef872bb6d3fd4455b508b73f81639a4fca1aa
parent9c59354b48ce9cf28048b02fea73dd0236f876ea
x86/oprofile: pass the model to setup_ctrs() functions

In follow-on patches the setup_ctrs() functions will need data that
describes the model. This patch extends the function argument list to
pass a pointer of the model to these function.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c
arch/x86/oprofile/op_model_amd.c
arch/x86/oprofile/op_model_p4.c
arch/x86/oprofile/op_model_ppro.c
arch/x86/oprofile/op_x86_model.h