summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/wii.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-12-21 09:22:18 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-01-12 20:46:48 +0200
commitfbd7ec02363cee4264aca2cc46692c9322fd6b42 (patch)
tree5b85c14b8492eb1c72d3c50c3cb97eee77bb52d9 /arch/powerpc/boot/wii.c
parent53a05ac15ee04b56ce02f0f831556e2fcdcce93f (diff)
powerpc: reuse asm-generic/barrier.h
On powerpc read_barrier_depends, smp_read_barrier_depends smp_store_mb(), smp_mb__before_atomic and smp_mb__after_atomic match the asm-generic variants exactly. Drop the local definitions and pull in asm-generic/barrier.h instead. This is in preparation to refactoring this code area. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot/wii.c')
0 files changed, 0 insertions, 0 deletions