atomic: Add atomic_or()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 11 May 2011 12:33:33 +0000 (05:33 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 28 May 2011 15:41:46 +0000 (17:41 +0200)
commit55c2945aa9d4d907ec5ca4f6a4e30ae908d8d30d
treee9cb0d05634fe214788dc6c07e2decf69cde98e3
parent29f742f88a32c9ab8cf6d9ba69e1ea918be5aa58
atomic: Add atomic_or()

An atomic_or() function is needed by TREE_RCU to avoid deadlock, so
add a generic version.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/atomic.h