Add atomic_fcmpset_*() inlines for powerpc
authorjhibbits <jhibbits@FreeBSD.org>
Mon, 30 Jan 2017 02:15:54 +0000 (02:15 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Mon, 30 Jan 2017 02:15:54 +0000 (02:15 +0000)
commit3ea21b1fb544361adb31dbff3576ff31ff9af15b
tree4c75d59db5fecb4f3f7dc9498725207db44170bd
parent2d28368996f237c74f7e450bd88524ad6ef88b45
Add atomic_fcmpset_*() inlines for powerpc

Summary:
atomic_fcmpset_*() is analogous to atomic_cmpset(), but saves off the read value
from the target memory location into the 'old' pointer in the case of failure.

Requested by:  mjg
Differential Revision: https://reviews.freebsd.org/D9325
sys/powerpc/include/atomic.h