summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/barrier.h
diff options
context:
space:
mode:
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>2009-04-30 15:08:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 15:36:10 -0700
commit77b4cf5cb0c9d6010a18030a0e0a8d2aaf6b43ec (patch)
treeb9b0b9f25e4495499ae5a35f1beaca7a5b240201 /arch/alpha/include/asm/barrier.h
parent08a42e86bce511b45ca3eee40f51674b02a777d1 (diff)
downloadblackbird-op-linux-77b4cf5cb0c9d6010a18030a0e0a8d2aaf6b43ec.tar.gz
blackbird-op-linux-77b4cf5cb0c9d6010a18030a0e0a8d2aaf6b43ec.zip
alpha: futex implementation
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Richard Henderson <rth@twiddle.net Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/include/asm/barrier.h')
-rw-r--r--arch/alpha/include/asm/barrier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/barrier.h b/arch/alpha/include/asm/barrier.h
index ac78eba909bc..ce8860a0b32d 100644
--- a/arch/alpha/include/asm/barrier.h
+++ b/arch/alpha/include/asm/barrier.h
@@ -16,11 +16,13 @@ __asm__ __volatile__("wmb": : :"memory")
__asm__ __volatile__("mb": : :"memory")
#ifdef CONFIG_SMP
+#define __ASM_SMP_MB "\tmb\n"
#define smp_mb() mb()
#define smp_rmb() rmb()
#define smp_wmb() wmb()
#define smp_read_barrier_depends() read_barrier_depends()
#else
+#define __ASM_SMP_MB
#define smp_mb() barrier()
#define smp_rmb() barrier()
#define smp_wmb() barrier()
OpenPOWER on IntegriCloud