[PATCHv2 03/12] arm64: smp: consistently use error codes

Catalin Marinas catalin.marinas at arm.com
Mon May 18 10:21:09 PDT 2015


On Mon, May 18, 2015 at 11:38:14AM +0100, Mark Rutland wrote:
> 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 at arm.com>
> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list