diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-11-13 15:19:41 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-11-13 15:19:50 +0100 |
commit | 4d5297253e6743f274580c6c8ca14b1f3b04f0e3 (patch) | |
tree | 0f08a36151f64cb6d04099af47965bbbd68baa56 /sysdeps/alpha | |
parent | 0f73c170379a34363c95e6ceab7b30bd4fe66c25 (diff) | |
download | glibc-4d5297253e6743f274580c6c8ca14b1f3b04f0e3.zip glibc-4d5297253e6743f274580c6c8ca14b1f3b04f0e3.tar.gz glibc-4d5297253e6743f274580c6c8ca14b1f3b04f0e3.tar.bz2 |
alpha: Remove UP preprocessor conditionals
The macro is never defined.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/alpha')
-rw-r--r-- | sysdeps/alpha/atomic-machine.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sysdeps/alpha/atomic-machine.h b/sysdeps/alpha/atomic-machine.h index 3dc0133..0904ed5 100644 --- a/sysdeps/alpha/atomic-machine.h +++ b/sysdeps/alpha/atomic-machine.h @@ -49,11 +49,7 @@ typedef uintmax_t uatomic_max_t; #define ATOMIC_EXCHANGE_USES_CAS 1 -#ifdef UP -# define __MB /* nothing */ -#else -# define __MB " mb\n" -#endif +#define __MB " mb\n" /* Compare and exchange. For all of the "xxx" routines, we expect a @@ -363,8 +359,6 @@ typedef uintmax_t uatomic_max_t; */ -#ifndef UP -# define atomic_full_barrier() __asm ("mb" : : : "memory"); -# define atomic_read_barrier() __asm ("mb" : : : "memory"); -# define atomic_write_barrier() __asm ("wmb" : : : "memory"); -#endif +#define atomic_full_barrier() __asm ("mb" : : : "memory"); +#define atomic_read_barrier() __asm ("mb" : : : "memory"); +#define atomic_write_barrier() __asm ("wmb" : : : "memory"); |