headers: atomic: add atomic_try_cmpxchg()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 8 Sep 2017 11:24:27 +0000 (13:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Sep 2017 11:25:31 +0000 (13:25 +0200)
commitb15017f8074970476a2d7324b398c8a6f89c2280
tree1841ddad4cc77fc0d984feef9629c72664528df1
parent709e720caa66816f32c6adc6050549fa40b9cf52
headers: atomic: add atomic_try_cmpxchg()

This is needed for the refcount code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/atomic.h [new file with mode: 0644]