linux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const...
commit407028931a0d0729690c646579fe282eff66aa16
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 31 Jan 2015 19:45:53 +0000 (31 19:45 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 31 Jan 2015 19:45:53 +0000 (31 19:45 +0000)
treecb7e3577c06aace666321ec6931174a233afae3d
parent0d9a5f8adcbb8ce4cd89a15b98daf77205c5eac5
linux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const void *.

* config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
oldval and newval to const void *.  Fix typo.
(FETCH_AND_OP_2): Use __atomic_load_n to load value.
(FETCH_AND_OP_WORD): Likewise.
(OP_AND_FETCH_WORD): Likewise.
(COMPARE_AND_SWAP_2): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_lock_test_and_set_4): Likewise.
(SYNC_LOCK_RELEASE_2): Likewise.
Remove support for long long atomic operations.

From-SVN: r220307
libgcc/ChangeLog
libgcc/config/pa/linux-atomic.c