summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-18 04:35:46 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-18 04:35:46 +0200
commitfd8597ac315b3be5f5bdb85445345a7ba4627c15 (patch)
treee0136bfba812c251ada5f369d5f0c051930b6c82 /lib
parent58dc03cec0df3cf569f73ea90d71f17e6a3dc84d (diff)
downloadplan9front-fd8597ac315b3be5f5bdb85445345a7ba4627c15.tar.xz
zynq: fix barriers
unlock()/iunlock(): we need to place the coherence() *before* "l->key = 0", so that any stores that where done while holding the lock become observable *before* other processors see the lock released. cas()/tas(): place memory barrier before successfull return to prevent reordering.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions