diff options
author | David S. Miller <davem@davemloft.net> | 2015-01-31 19:07:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-31 23:39:50 -0800 |
commit | edac0a60c7514b8c9b59488cffdac6b22267e757 (patch) | |
tree | 51417325552e5133fe74301e6053bc60fbef9ed4 /sysdeps/nios2 | |
parent | d4abeca50400747402a5a33f3a8aa0941be076d5 (diff) | |
download | glibc-edac0a60c7514b8c9b59488cffdac6b22267e757.tar glibc-edac0a60c7514b8c9b59488cffdac6b22267e757.tar.gz glibc-edac0a60c7514b8c9b59488cffdac6b22267e757.tar.bz2 glibc-edac0a60c7514b8c9b59488cffdac6b22267e757.zip |
Fix two bugs in sparc atomics.
* sysdeps/sparc/sparc32/bits/atomic.h
(__sparc32_atomic_do_unlock24): Put the memory barrier before the
unlock not after it.
(__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
volatile register usage warnings from the compiler.
Diffstat (limited to 'sysdeps/nios2')
0 files changed, 0 insertions, 0 deletions