blackfin: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Thu, 23 Apr 2015 19:44:42 +0000 (21:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:22 +0000 (14:06 +0200)
commitd835b6c4cc02507b3bf3f8ee6c86857cf0ee67ab
tree4bee7d7516eb8f382d137cde96b46fe2b6eea442
parentf8a570e270bf62363cd498ac2ac8ea07a76ad4d6
blackfin: 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.

TODO: use inline asm or at least asm macros to collapse the lot.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/blackfin/include/asm/atomic.h
arch/blackfin/kernel/bfin_ksyms.c
arch/blackfin/mach-bf561/atomic.S