arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.h
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 Nov 2013 11:01:59 +0000 (12:01 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 12 Jan 2014 09:37:14 +0000 (10:37 +0100)
commit1de7da377bd880ff23917f78924d0e908329d978
tree38700ceabb6050598f3800032617d5c73d7344b8
parent2e4f5382d12a441b5cccfdde00308df15c2ce300
arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.h

Move the barriers functions that depend on the atomic implementation
into the atomic implementation.

Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Vineet Gupta <vgupta@synopsys.com> [for arch/arc bits]
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20131213150640.786183683@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arc/include/asm/atomic.h
arch/arc/include/asm/barrier.h
arch/hexagon/include/asm/atomic.h
arch/hexagon/include/asm/barrier.h