diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2020-01-29 21:10:41 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-01-29 21:50:44 +0300 |
commit | fe66483156050f4eb63c4a1988f3b439e6c9ff2a (patch) | |
tree | 4dcdf4da5fe67f3fb5b350be6b228798351485c0 /drivers/bluetooth | |
parent | 6c08fc896b60893c5d673764b0668015d76df462 (diff) | |
download | linux-fe66483156050f4eb63c4a1988f3b439e6c9ff2a.tar.xz |
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>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions