]> granicus.if.org Git - libatomic_ops/commit
Adjust type of 'flag' and 'tmp' local variables in gcc/arm.h
authorIvan Maidanski <ivmai@mail.ru>
Sat, 2 Feb 2013 08:47:07 +0000 (12:47 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 2 Feb 2013 08:47:07 +0000 (12:47 +0400)
commitd60dd92a34c7e54db11c6d4813b634179087d397
treeb78985b50a7a133a0a6782b4d8c0ad71faf57bf6
parent124dc9d1ce01403dd6c9fc982f20f81d3f8a0280
Adjust type of 'flag' and 'tmp' local variables in gcc/arm.h
(code refactoring)

* src/atomic_ops/sysdeps/gcc/arm.h (AO_store,
AO_fetch_compare_and_swap): Change type of "flag" local variable from
AO_t to int (only if AO_BROKEN_TASKSWITCH_CLREX).
* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set, AO_fetch_and_add,
AO_fetch_and_add1, AO_fetch_and_sub1): Change type of "flag" local
variable from unsigned long to int.
* src/atomic_ops/sysdeps/gcc/arm.h (AO_fetch_and_add,
AO_fetch_and_add1, AO_fetch_and_sub1): Change type of "tmp" local
variable from unsigned long to AO_t.
src/atomic_ops/sysdeps/gcc/arm.h