linux/arch/frv
Peter Zijlstra d9c7302816 locking/atomic, arch/frv: Implement atomic{,64}_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: Thomas Gleixner <tglx@linutronix.de>
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:24 +02:00
..
boot FRV: Don't objcopy the GNU build_id note 2012-11-02 13:20:42 +00:00
include locking/atomic, arch/frv: Implement atomic{,64}_fetch_{add,sub,and,or,xor}() 2016-06-16 10:48:24 +02:00
kernel frv: Rewrite atomic implementation 2015-07-27 14:06:23 +02:00
lib frv: Rewrite atomic implementation 2015-07-27 14:06:23 +02:00
mb93090-mb00 frv: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
mm kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile frv: Remove redundant debugging info flag 2014-01-28 10:57:24 +01:00