summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2015-07-08 13:52:59 +0000
committerzbb <zbb@FreeBSD.org>2015-07-08 13:52:59 +0000
commitad70ced005b6c89457096f744618bb95ba71f003 (patch)
tree76cdd2360c3f68817bb3850563b05804387c2a80 /contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp
parent79ef161338c558af0dbe0928d4315be38a814695 (diff)
downloadFreeBSD-src-ad70ced005b6c89457096f744618bb95ba71f003.zip
FreeBSD-src-ad70ced005b6c89457096f744618bb95ba71f003.tar.gz
Add memory barrier to bus_dmamap_sync()
On platforms which are fully IO-coherent, the map might be null. We need to guarantee that all data is observable after the sync operation is called. Add a memory barrier to ensure that on ARM. Reviewed by: andrew, kib Obtained from: Semihalf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3012
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud