Skip to content
Commit f7c34874 authored by Max Filippov's avatar Max Filippov
Browse files

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: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent d065fcf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment