Skip to content

Commit

Permalink
xtensa: define __smp_xxx
Browse files Browse the repository at this point in the history
This defines __smp_xxx barriers for xtensa,
for use by virtualization.

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

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
  • Loading branch information
Michael S. Tsirkin committed Jan 12, 2016
1 parent d39886a commit 1ce7909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/xtensa/include/asm/barrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#define rmb() barrier()
#define wmb() mb()

#define smp_mb__before_atomic() barrier()
#define smp_mb__after_atomic() barrier()
#define __smp_mb__before_atomic() barrier()
#define __smp_mb__after_atomic() barrier()

#include <asm-generic/barrier.h>

Expand Down

0 comments on commit 1ce7909

Please sign in to comment.