mirror of git://sourceware.org/git/glibc.git
alpha: Remove UP preprocessor conditionals
The macro is never defined. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
0f73c17037
commit
4d5297253e
|
@ -49,11 +49,7 @@ typedef uintmax_t uatomic_max_t;
|
||||||
#define ATOMIC_EXCHANGE_USES_CAS 1
|
#define ATOMIC_EXCHANGE_USES_CAS 1
|
||||||
|
|
||||||
|
|
||||||
#ifdef UP
|
#define __MB " mb\n"
|
||||||
# define __MB /* nothing */
|
|
||||||
#else
|
|
||||||
# define __MB " mb\n"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Compare and exchange. For all of the "xxx" routines, we expect a
|
/* 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_full_barrier() __asm ("mb" : : : "memory");
|
#define atomic_read_barrier() __asm ("mb" : : : "memory");
|
||||||
# define atomic_read_barrier() __asm ("mb" : : : "memory");
|
#define atomic_write_barrier() __asm ("wmb" : : : "memory");
|
||||||
# define atomic_write_barrier() __asm ("wmb" : : : "memory");
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue