tile: define __smp_xxx
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 27 Dec 2015 13:04:42 +0000 (15:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2016 18:46:58 +0000 (20:46 +0200)
commitd39886a7d31e0182f8b7e3b0e953e636b0af96fd
tree5d12bbaf8c9c4cd5bc19a1a5e99419110e15be33
parent45d9b859411cb6d4dccc4e488336160acf9a6df5
tile: define __smp_xxx

This defines __smp_xxx barriers for tile,
for use by virtualization.

Some smp_xxx barriers are removed as they are
defined correctly by asm-generic/barriers.h

Note: for 32 bit, keep smp_mb__after_atomic around since it's faster
than the generic implementation.

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/tile/include/asm/barrier.h