arc: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 18:06:20 +0000 (20:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:21 +0000 (14:06 +0200)
commitcda7e4137a4e39c7d877b6ed41da13a5b30dd2cf
tree9339f7096a482c0171414880d438c4134aa1386a
parent212d3be102d73dce70cc12f39dce4e0aed2c025b
arc: Provide atomic_{or,xor,and}

Implement atomic logic ops -- atomic_{or,xor,and}.

These will replace the atomic_{set,clear}_mask functions that are
available on some archs.

Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arc/include/asm/atomic.h