ARM: oprofile: Move non-ARM code into separate init/exit
authorMatt Fleming <matt@console-pimps.org>
Mon, 27 Sep 2010 19:35:29 +0000 (20:35 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 11 Oct 2010 15:46:15 +0000 (17:46 +0200)
commit58850e210cd207399cf6461326e322541b2ec81c
tree7649e9ebcb30c0e9347cb39b9f3e9006e898717d
parent80e96b11f6cd261e1e569f3931604d656388af33
ARM: oprofile: Move non-ARM code into separate init/exit

In preparation for moving the majority of this oprofile code into an
architecture-neutral place separate the architecture-independent code
into oprofile_perf_init() and oprofile_perf_exit().

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/arm/oprofile/common.c