about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-11-13 15:19:41 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-11-13 15:20:07 +0100
commitd5c4cce9c3eb82cb57d01a3ce3a0999e146abd63 (patch)
tree366d6fc8a1e10ec1cd553d8a70a67f5f740fa052 /sysdeps/powerpc/powerpc64
parent0f34d426acf8950599ab8a1e6a733fe4c40903a4 (diff)
downloadglibc-d5c4cce9c3eb82cb57d01a3ce3a0999e146abd63.tar.gz
glibc-d5c4cce9c3eb82cb57d01a3ce3a0999e146abd63.tar.xz
glibc-d5c4cce9c3eb82cb57d01a3ce3a0999e146abd63.zip
powerpc: Eliminate UP macro conditionals
The macro is never defined.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-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")
 
 /*