diff options
author | 2015-05-29 14:44:06 +0100 | |
---|---|---|
committer | 2015-07-27 15:28:54 +0100 | |
commit | db26217e6f54647b137a0fe1f2ab346de67d6f3e (patch) | |
tree | 5c839d3429de197f511161be339bcdacb786d471 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: atomics: implement atomic{,64}_cmpxchg using cmpxchg (diff) | |
download | linux-dev-db26217e6f54647b137a0fe1f2ab346de67d6f3e.tar.xz linux-dev-db26217e6f54647b137a0fe1f2ab346de67d6f3e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions