summaryrefslogtreecommitdiff
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-02-18 12:53:55 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2015-02-19 07:44:28 (GMT)
commitfba7ecf09bc458b15f9d578e4213c8c349f9592d (patch)
treeb479fe60d7d4d2853cf3c9cd740414c9125f8364 /kernel/cred.c
parent00629e0fd56d528f0da4d9606726a4e22e576ace (diff)
downloadlinux-fba7ecf09bc458b15f9d578e4213c8c349f9592d.tar.xz
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 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions