commit | f7c34874f04a80d6c39a32f08da2529e59602d3c | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Thu Dec 20 17:18:12 2018 -0800 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Tue May 07 10:36:31 2019 -0700 |
tree | a225ab153205701d24bee7423fc950a9009cb533 | |
parent | d065fcf12c21348cbc125460f75332f467518fb1 [diff] |
xtensa: add exclusive atomics support Implement atomic primitives using exclusive access opcodes available in the recent xtensa cores. Since l32ex/s32ex don't have any memory ordering guarantees don't define __smp_mb__before_atomic/__smp_mb__after_atomic to make them use memw. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>