mips: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 17:51:36 +0000 (19:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:22 +0000 (14:06 +0200)
commit27782f2752aca65a241f10fb2d4508c71bb2656b
treecf8564efcf6f86a0a448a22fae9e983735bb56e7
parent5b4a2f0f91fd4a635f380f847254d23121972e7b
mips: 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: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mips/include/asm/atomic.h