diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-12-27 15:04:42 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-12 20:46:55 +0200 |
commit | afc22de0c0ca8b4697a8aec2bbb35d4cc385e7e0 (patch) | |
tree | 7c920440e0da786b1d2c3617f111f6afa2aac33d /arch/mips/include/asm/barrier.h | |
parent | eebd1b927822f13429ec09d0a48fe92716b22840 (diff) |
metag: define __smp_xxx
This defines __smp_xxx barriers for metag,
for use by virtualization.
smp_xxx barriers are removed as they are
defined correctly by asm-generic/barriers.h
Note: as __smp_XX macros should not depend on CONFIG_SMP, they can not
use the existing fence() macro since that is defined differently between
SMP and !SMP. For this reason, this patch introduces a wrapper
metag_fence() that doesn't depend on CONFIG_SMP.
fence() is then defined using that, depending on CONFIG_SMP.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'arch/mips/include/asm/barrier.h')
0 files changed, 0 insertions, 0 deletions