]> git.ipfire.org Git - thirdparty/gcc.git/commit
linux-atomic.c (__kernel_cmpxchg): Change argument 1 to volatile void *.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 17 Nov 2019 23:15:29 +0000 (23:15 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 17 Nov 2019 23:15:29 +0000 (23:15 +0000)
commitdbbbe55ecd47aefef617c658a08e8b2528af6c36
treefb66d418fe38cbe6a5700dfd879d14ade9cdbd24
parent8d6905de014de1710e17c7b7fc6eedea781e80d7
linux-atomic.c (__kernel_cmpxchg): Change argument 1 to volatile void *.

* config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
volatile void *.  Remove trap check.
(__kernel_cmpxchg2): Likewise.
(FETCH_AND_OP_2): Adjust operand types.
(OP_AND_FETCH_2): Likewise.
(FETCH_AND_OP_WORD): Likewise.
(OP_AND_FETCH_WORD): Likewise.
(COMPARE_AND_SWAP_2): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_bool_compare_and_swap_4): Likewise.
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
(__sync_lock_test_and_set_4): Likewise.
(SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
(__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
for release.
(__sync_lock_release_8): Remove.

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