linux/arch/arm64/include
Will Deacon db26217e6f arm64: atomic64_dec_if_positive: fix incorrect branch condition
If we attempt to atomic64_dec_if_positive on INT_MIN, we will underflow
and incorrectly decide that the original parameter was positive.

This patches fixes the broken condition code so that we handle this
corner case correctly.

Reviewed-by: Steve Capper <steve.capper@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-07-27 15:28:54 +01:00
..
asm arm64: atomic64_dec_if_positive: fix incorrect branch condition 2015-07-27 15:28:54 +01:00
uapi/asm arm64: elf: advertise 8.1 atomic instructions as new hwcap 2015-07-27 14:34:39 +01:00