summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/atomic-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc64/atomic-machine.h')
-rw-r--r--sysdeps/powerpc/powerpc64/atomic-machine.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc64/atomic-machine.h b/sysdeps/powerpc/powerpc64/atomic-machine.h
index 421dbd10c4..c9372a8e9e 100644
--- a/sysdeps/powerpc/powerpc64/atomic-machine.h
+++ b/sysdeps/powerpc/powerpc64/atomic-machine.h
@@ -230,9 +230,7 @@
/*
* "light weight" sync can also be used for the release barrier.
*/
-#ifndef UP
-# define __ARCH_REL_INSTR "lwsync"
-#endif
+#define __ARCH_REL_INSTR "lwsync"
#define atomic_write_barrier() __asm ("lwsync" ::: "memory")
/*