diff options
-rw-r--r-- | libjava/sysdep/powerpc/locks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/sysdep/powerpc/locks.h b/libjava/sysdep/powerpc/locks.h index ecff4e251de..57ee1409e37 100644 --- a/libjava/sysdep/powerpc/locks.h +++ b/libjava/sysdep/powerpc/locks.h @@ -36,7 +36,7 @@ compare_and_swap (volatile obj_addr_t *addr, inline static void release_set (volatile obj_addr_t *addr, obj_addr_t new_val) { - __atomic_store_n(addr, val, __ATOMIC_RELEASE); + __atomic_store_n(addr, new_val, __ATOMIC_RELEASE); } |