diff options
| author | Mark Rutland <[email protected]> | 2015-04-20 17:55:30 +0100 |
|---|---|---|
| committer | Mark Rutland <[email protected]> | 2015-05-27 13:21:40 +0100 |
| commit | 6b99c68cb5dd274d79451e5135f9450f7c01ca52 (patch) | |
| tree | e1d09f95d35d933dc157b1917bc9956705f4aacf /lib/timerqueue.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 <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Acked-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Hanjun Guo <[email protected]>
Tested-by: Hanjun Guo <[email protected]>
Cc: Will Deacon <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions