xtensa: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 17:35:00 +0000 (19:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:23 +0000 (14:06 +0200)
commit2a3ed90f428cab65567c5421ebc0f6c8d02c1216
treed85187cd28a785f6807d39757a5fcc4c009e7e90
parent304a0d699a3c6103b61d5ea18d56820e7d8e3116
xtensa: 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.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/xtensa/include/asm/atomic.h