mips: reuse asm-generic/barrier.h
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Dec 2015 07:22:18 +0000 (09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2016 18:46:51 +0000 (20:46 +0200)
commitfa083e28f89a78b95ba8b7da86db40c13c60e95d
tree50609435543980f6e9754b72599ae8e9c1d7e089
parentabe114d9f0a80f27bc5040cd2287dca80423d13e
mips: reuse asm-generic/barrier.h

On mips dma_rmb, dma_wmb, smp_store_mb, read_barrier_depends,
smp_read_barrier_depends, smp_store_release and smp_load_acquire  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>
arch/mips/include/asm/barrier.h