linux/arch/blackfin/mach-bf561
Peter Zijlstra e87fc0ec07 locking/atomic, arch/blackfin: Implement atomic_fetch_{add,sub,and,or,xor}()
Implement FETCH-OP atomic primitives, these are very similar to the
existing OP-RETURN primitives we already have, except they return the
value of the atomic variable _before_ modification.

This is especially useful for irreversible operations -- such as
bitops (because it becomes impossible to reconstruct the state prior
to modification).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Miao <realmz6@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: adi-buildroot-devel@lists.sourceforge.net
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-16 10:48:23 +02:00
..
boards MTD updates for v4.5: 2016-01-13 11:25:54 -08:00
include/mach blackfin: anomaly: add anomaly 16000030 for bf5xx 2012-12-13 15:22:03 +08:00
Kconfig Blackfin: add support for gptimer0 as a tick source 2009-06-12 06:11:37 -04:00
Makefile Blackfin: SMP: add PM/CPU hotplug support 2010-03-09 00:30:48 -05:00
atomic.S locking/atomic, arch/blackfin: Implement atomic_fetch_{add,sub,and,or,xor}() 2016-06-16 10:48:23 +02:00
coreb.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2010-10-22 21:12:27 -07:00
dma.c Blackfin: dma: constify MMR pointer array 2011-01-10 07:18:05 -05:00
hotplug.c Blackfin: SMP: flush CoreB cache when shutting down 2011-03-22 21:03:16 -04:00
ints-priority.c Blackfin: bf561: rewrite SICA_xxx to just SIC_xxx 2010-10-22 16:30:02 -04:00
secondary.S Blackfin: optimize double fault boot checking 2011-07-23 01:10:43 -04:00
smp.c blackfin: fix up obsolete cpu function usage. 2015-03-05 15:25:08 +10:30