summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-09-29 15:42:30 +0200
committerRobert Richter <robert.richter@amd.com>2010-10-11 19:34:04 +0200
commite9677b3ce207a07fad5746b6f7ddc70cae79de0a (patch)
treefd94cd24431c1c853372bea47f662e50a7ea4bcf /drivers/oprofile/buffer_sync.c
parent2bcb2b641a8f1524f7a9801eb9e52a00b8f18c6e (diff)
downloadblackbird-op-linux-e9677b3ce207a07fad5746b6f7ddc70cae79de0a.tar.gz
blackbird-op-linux-e9677b3ce207a07fad5746b6f7ddc70cae79de0a.zip
oprofile, ARM: Use oprofile_arch_exit() to cleanup on failure
There is duplicate cleanup code in the init and exit functions. Now, oprofile_arch_exit() is also used if oprofile_arch_init() fails. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud