]> git.proxmox.com Git - mirror_spl.git/commit
Add atomic_swap_32() and atomic_swap_64()
authorTim Chase <tim@chase2k.com>
Sat, 26 Jul 2014 04:45:26 +0000 (23:45 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jul 2014 21:19:24 +0000 (14:19 -0700)
commit2bf35fb7547f2b66a1905b5ee86b467ff2d3c4b6
treebbb3f10575aa9c43a06545b0f813465c1cb54a16
parent7f23e0010977ffa492d6df57aee0c97ce8e74278
Add atomic_swap_32() and atomic_swap_64()

The atomic_swap_32() function maps to atomic_xchg(), and
the atomic_swap_64() function maps to atomic64_xchg().

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #377
include/sys/atomic.h