diff options
| author | John David Anglin <danglin@gcc.gnu.org> | 2015-09-23 23:29:08 +0000 |
|---|---|---|
| committer | John David Anglin <danglin@gcc.gnu.org> | 2015-09-23 23:29:08 +0000 |
| commit | cf8022dd0353261de3a891c0ea83f71ca06e4cc9 (patch) | |
| tree | 6720277358e14f85f6cb1a55d068742fe41ca8dd /libjava/java/sql/Time.h | |
| parent | 00e658fd2a913a0da9957792b4b06586dc878aef (diff) | |
linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2015-09-23 John David Anglin <danglin@gcc.gnu.org>
* config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
(__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
__kernel_cmpxchg2.
(__sync_##OP##_and_fetch_##WIDTH): Likewise.
(__sync_val_compare_and_swap_##WIDTH): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Likewise.
(__sync_lock_test_and_set_##WIDTH): Likewise.
(__sync_lock_release_##WIDTH): Likewise.
(__sync_fetch_and_##OP##_4): Change result to match type of
__kernel_cmpxchg.
(__sync_##OP##_and_fetch_4): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_bool_compare_and_swap_4): likewise.
(__sync_lock_test_and_set_4): Likewise.
(__sync_lock_release_4): Likewise.
(FETCH_AND_OP_2): Add long long variants.
(OP_AND_FETCH_2): Likewise.
(COMPARE_AND_SWAP_2 ): Likewise.
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
(SYNC_LOCK_RELEASE_2): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Correct return.
From-SVN: r228066
Diffstat (limited to 'libjava/java/sql/Time.h')
0 files changed, 0 insertions, 0 deletions
