summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-20 13:48:40 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-20 13:48:40 +0000
commit56f1dc5729da9d5e33e995539f5a1554ae70f6c7 (patch)
treeeae68451fde6bc09784f546af6ab36c99e8c2558 /libjava
parente13065bc181173670251ee505e894f3935ac530f (diff)
downloadgcc-56f1dc5729da9d5e33e995539f5a1554ae70f6c7.tar.gz
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/sysdep/powerpc/locks.h2
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);
}