diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-18 14:53:55 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-02-19 08:44:28 +0100 |
commit | fba7ecf09bc458b15f9d578e4213c8c349f9592d (patch) | |
tree | b479fe60d7d4d2853cf3c9cd740414c9125f8364 /security | |
parent | 00629e0fd56d528f0da4d9606726a4e22e576ace (diff) | |
download | linux-exynos-fba7ecf09bc458b15f9d578e4213c8c349f9592d.tar.gz linux-exynos-fba7ecf09bc458b15f9d578e4213c8c349f9592d.tar.bz2 linux-exynos-fba7ecf09bc458b15f9d578e4213c8c349f9592d.zip |
Bluetooth: Convert hci_cb_list_lock to a mutex
We'll soon need to be able to sleep inside the loops that iterate the
hci_cb list, so neither a spinlock, rwlock or rcu are usable. This patch
changes the lock to a mutex which permits sleeping while holding the
lock.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions