diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-02-20 10:48:25 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-02-20 10:48:25 +0000 |
commit | 646b3a64a93522b7ef3d52f20ffc16d957105503 (patch) | |
tree | 2dcf98503dcf46efb45404db6bcf19b416579e34 | |
parent | 6823922baa9898cd489a1eaed38b715e134c1f2a (diff) |
alpha lacks p_atomic_cmpxchg() switch to non atomic ops
-rw-r--r-- | lib/mesa/src/util/u_atomic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/util/u_atomic.h b/lib/mesa/src/util/u_atomic.h index bb6f3c30e..52eec46bb 100644 --- a/lib/mesa/src/util/u_atomic.h +++ b/lib/mesa/src/util/u_atomic.h @@ -24,7 +24,8 @@ #elif defined(_MSC_VER) #define PIPE_ATOMIC_MSVC_INTRINSIC #elif defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_5__) || \ - defined(__hppa__) || defined(__sparc__) || defined(__sh__) + defined(__hppa__) || defined(__sparc__) || defined(__sh__) \ + || defined(__alpha__) #define PIPE_ATOMIC_UNLOCKED #elif defined(__GNUC__) #define PIPE_ATOMIC_GCC_INTRINSIC |