arm: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 18:04:39 +0000 (20:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:21 +0000 (14:06 +0200)
commit125897908c718972351b589da89b7f990892d4df
tree2a0b7a195c7772990bd92a9d39b4c6b348418534
parentcda7e4137a4e39c7d877b6ed41da13a5b30dd2cf
arm: 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/arm/include/asm/atomic.h