]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: fix atomic_testand{set,clear}_64 for ops on high bits
authorRyan Libby <rlibby@FreeBSD.org>
Sun, 3 Jan 2021 02:09:37 +0000 (18:09 -0800)
committerRyan Libby <rlibby@FreeBSD.org>
Sun, 3 Jan 2021 02:09:37 +0000 (18:09 -0800)
commit486580c44ce29c1e3b1d9b858a08d9df9428b699
tree1f16e91940bb984af6dfceb1a1ce5d0240bf7fae
parentd189a74dfdcd4a89c92a48ecbf8fcb6f6903f9b6
arm: fix atomic_testand{set,clear}_64 for ops on high bits

The fix in bd03acedb804add1e22178d50eb2bfb703974ddf worked for 32-bit
ops, and for 64-bit ops for bit arguments of 0 - 95, but then was broken
for operations on the high 32 bits after that.

Reviewed by: markj, mmel
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27897
sys/arm/include/atomic-v6.h