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

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: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 2bcb2b64
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