mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
Patch from Russ Dill The oprofile init code was broken in commit c6b9da. The new logic will always return -ENODEV. This fixes oprofile_arch_init to return 0 on success, and return the return value of spec->init() if applicable. Signed-off-by: Russ Dill <[email protected]> Signed-off-by: Russell King <[email protected]>