linux_dsm_epyc7002/arch/h8300/include/asm
Peter Zijlstra 0c074cbc33 locking/atomic, arch/h8300: 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: Thomas Gleixner <tglx@linutronix.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: uclinux-h8-devel@lists.sourceforge.jp
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-16 10:48:24 +02:00
..
atomic.h locking/atomic, arch/h8300: Implement atomic_fetch_{add,sub,and,or,xor}() 2016-06-16 10:48:24 +02:00
bitops.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
bitsperlong.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
bug.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
byteorder.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
cache.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
cmpxchg.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
dma-mapping.h dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
elf.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
flat.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
hash.h h8300: Add <asm/hash.h> 2016-05-28 15:48:58 -04:00
io.h h8300: Restraint of warning. 2016-01-20 23:27:59 +09:00
irq.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
irqflags.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
Kbuild word-at-a-time.h: fix some Kbuild files 2015-10-06 14:52:48 -04:00
kgdb.h h8300: Add KGDB support. 2016-01-20 23:27:30 +09:00
mc146818rtc.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
mutex.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
page_offset.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
page.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
pci.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
pgtable.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
processor.h exit_thread: remove empty bodies 2016-05-20 17:58:30 -07:00
ptrace.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
segment.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
signal.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
smp.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
string.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
switch_to.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
syscall.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
thread_info.h h8300: Fix alignment for .data 2015-11-08 22:44:38 +09:00
tlb.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
traps.h h8300: show_stack cleanup 2016-01-20 23:28:00 +09:00
user.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00