]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec}
authorWill Deacon <will.deacon@arm.com>
Wed, 7 Oct 2015 14:10:38 +0000 (15:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Oct 2015 08:17:23 +0000 (10:17 +0200)
commit6e490b0106a2118ee4c37c37847454a5c2dc6e32
tree32e3984d00d96945d2a8d48dc6cd0b04959aa0b6
parenta1a2ab2ff7040bdc9a31bfe7173913971f7d723b
ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec}

Now that the core code supports acquire/release/relaxed versions of
the atomic_inc family, implement only the _relaxed flavours in the ARM
backend so that we get all of the others for free.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
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>
Link: http://lkml.kernel.org/r/1444227038-12533-1-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/include/asm/atomic.h