diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-12-21 09:22:18 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-12 20:46:48 +0200 |
commit | fbd7ec02363cee4264aca2cc46692c9322fd6b42 (patch) | |
tree | 5b85c14b8492eb1c72d3c50c3cb97eee77bb52d9 /arch/powerpc/boot/of.h | |
parent | 53a05ac15ee04b56ce02f0f831556e2fcdcce93f (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/of.h')
0 files changed, 0 insertions, 0 deletions