diff options
author | Russ Dill <Russ.Dill@gmail.com> | 2006-02-01 22:07:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-02-01 22:07:28 +0100 |
commit | 7610dfa3723e87705964b29db9775620d96bf618 (patch) | |
tree | 14e05b6c04bd4d0971320d425a30cd71d72a4866 /fs/block_dev.c | |
parent | [ARM] 3294/1: don't invalidate individual BTB entries on ARMv6 (diff) | |
download | linux-7610dfa3723e87705964b29db9775620d96bf618.tar.xz linux-7610dfa3723e87705964b29db9775620d96bf618.zip |
[ARM] 3295/1: Fix oprofile init return value
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 <Russ.Dill@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions