diff options
author | Mark Rutland <mark.rutland@arm.com> | 2015-04-20 17:55:30 +0100 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2015-05-27 13:21:40 +0100 |
commit | 6b99c68cb5dd274d79451e5135f9450f7c01ca52 (patch) | |
tree | e1d09f95d35d933dc157b1917bc9956705f4aacf /lib/test_kasan.c | |
parent | 6ee3c78cecc795e87de9552baca76ea88292556d (diff) |
arm64: smp: consistently use error codes
cpu_kill currently returns one for success and zero for failure, which
is unlike all the other cpu_operations, which return zero for success
and an error code upon failure. This difference is unnecessarily
confusing.
Make cpu_kill consistent with the other cpu_operations.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/test_kasan.c')
0 files changed, 0 insertions, 0 deletions