arm64: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 18:03:13 +0000 (20:03 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:22 +0000 (14:06 +0200)
commit22288b40e2c7ab484a08a03df32782a67903912c
tree9da6d8bf9c4e9c9678d130a6c98ae9f43a54f872
parent125897908c718972351b589da89b7f990892d4df
arm64: 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/arm64/include/asm/atomic.h