util/atomic: Add p_atomic_add_return for the unlocked path
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 17:49:18 +0000 (11:49 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 17:55:21 +0000 (11:55 -0600)
commit752196a4938f92395bacba915f3240b88790145a
tree3d4b2bba40ce2539b7deac58219b212ac1585b0d
parent1b6991ba1d8df187869cbea1bf4d9da3f2e68824
util/atomic: Add p_atomic_add_return for the unlocked path

Fixes: 385d13f26d2 "util/atomic: Add a _return variant of p_atomic_add"
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/util/u_atomic.h