]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: Fix atomic long APIs to correct 'u_long' signedness
authorConrad Meyer <cem@FreeBSD.org>
Mon, 23 Mar 2020 23:00:13 +0000 (23:00 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Mon, 23 Mar 2020 23:00:13 +0000 (23:00 +0000)
commit2596eb88477d4a1847f50aaf9f487a1b3c26429d
tree809aa58456be6e0ab7475bc2a808eac312762eae
parent47172feb8d806facccecfec5ac021c3b06c4f42b
arm: Fix atomic long APIs to correct 'u_long' signedness

As defined in atomic(9) and implemented on other architectures, the
atomic(9) functions all act on unsigned pointers and types.  Prior to this
revision, arm implemented some atomic(9) 'long' sized routines with correct
unsigned type, but others were incorrectly signed.

Reviewed by: tinderbox
Sponsored by: Dell EMC Isilon
sys/arm/include/atomic-v6.h