]> git.ipfire.org Git - thirdparty/gcc.git/commit
linux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 31 Jan 2015 19:48:05 +0000 (19:48 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 31 Jan 2015 19:48:05 +0000 (19:48 +0000)
commit7ce8a363914204d609ebf1a673c09dc7292b3268
tree1427dd2fb9b52a7ebf3e08fa27626c635ed535a0
parent25fba33116b0d9e56acb6f62aca0b4db9564eaa4
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: r220308
libgcc/ChangeLog
libgcc/config/pa/linux-atomic.c