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