commit | fe66483156050f4eb63c4a1988f3b439e6c9ff2a | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Wed Jan 29 10:10:41 2020 -0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jan 29 19:50:44 2020 +0100 |
tree | 4dcdf4da5fe67f3fb5b350be6b228798351485c0 | |
parent | 6c08fc896b60893c5d673764b0668015d76df462 [diff] |
Bluetooth: optimize barrier usage for Rmw atomics Use smp_mb__before_atomic() instead of smp_mb() and avoid the unnecessary barrier for non LL/SC architectures, such as x86. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>