metag: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 17:53:39 +0000 (19:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:22 +0000 (14:06 +0200)
commit5b4a2f0f91fd4a635f380f847254d23121972e7b
tree25e9a06f8d5dd9aa630456ea5fbf879abe508412
parent74b1bc505b058efdfef33e775df68d8324bbf8b8
metag: 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/metag/include/asm/atomic_lnkget.h
arch/metag/include/asm/atomic_lock1.h