Fix typo.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2012 13:48:40 +0000 (13:48 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2012 13:48:40 +0000 (13:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188833 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/sysdep/powerpc/locks.h

index ecff4e2..57ee140 100644 (file)
@@ -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);
 }