Skip to content
Snippets Groups Projects
Commit a0d84da1 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Fix broken #ifdef for __sparcv8

Rob Rowan. Backpatch to all supported versions, like the patch that added
the broken #ifdef.
parent 66f5217f
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment