x86/oprofile: introduce model specific init/exit functions
authorRobert Richter <robert.richter@amd.com>
Tue, 22 Jul 2008 19:08:48 +0000 (21:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 09:48:01 +0000 (11:48 +0200)
commitadf5ec0bca553b763a6b9baed2677a4c7470025b
treec3009400fcdd1d0a27ab96e8d9ed6a88535307d4
parent12f2b2610e812627acf338aaf043fef20bb726ca
x86/oprofile: introduce model specific init/exit functions

This patch implements model specific OProfile init/exit functions for
x86 CPUs. Though there is more rework needed at the initialization
code, this new introduced functions allow it to keep model specific
code in the corresponding op_model_*.c files.

The function interface is the same as for oprofile_arch_init/exit().

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/oprofile/nmi_int.c
arch/x86/oprofile/op_model_athlon.c
arch/x86/oprofile/op_x86_model.h