This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [Patch] ARM define atomic_exchange_acq/atomic_exchange_rel to __atomic_exchange_n
- From: Dinar Temirbulatov <dtemirbulatov at gmail dot com>
- To: libc-ports at sourceware dot org
- Cc: joseph at codesourcery dot com, adeb at nvidia dot com, Maxim Kuvyrkov <maxim at kugelworks dot com>
- Date: Mon, 2 Sep 2013 00:41:40 +0400
- Subject: Re: [Patch] ARM define atomic_exchange_acq/atomic_exchange_rel to __atomic_exchange_n
- Authentication-results: sourceware.org; auth=none
Hi,
Another version of change, I added
atomic_compare_and_exchange_val_acq/atomic_compare_and_exchange_val_rel
and atomic_compare_and_exchange_bool_acq/atomic_compare_and_exchange_boot_rel
defenitions and also for gcc-4.7 and higher in the case of unsupported
atomic compare and swap operation, it uses the kernel helper inlines.
Tested on arm a9 with no new regressions. Ok to commit?
thanks, Dinar.