diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-02-13 23:51:23 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-02-13 23:56:57 +0200 |
commit | 56a23a83fd310413e26f022b68b457dae82a9de0 (patch) | |
tree | 452d1f750ebf53c4531765fed951dfca0b474a93 /src | |
parent | 5eef3c61ecf9cbd24116252cb9d3ccdf6c3f38fc (diff) |
Fix broken #ifdef for __sparcv8
Rob Rowan. Backpatch to all supported versions, like the patch that added
the broken #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/s_lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 48583f8fc22..c1d2ed59740 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -444,7 +444,7 @@ tas(volatile slock_t *lock) * requires a barrier. */ #define S_UNLOCK(lock) (*((volatile slock_t *) (lock)) = 0) -#elif __sparcv8 +#elif defined(__sparcv8) /* stbar is available (and required for both PSO, RMO), membar isn't */ #define S_UNLOCK(lock) \ do \ |