summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>2015-10-02 20:07:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 08:32:56 (GMT)
commit27a90695e02759ccab58ca610af4f8ed79d8a35c (patch)
treea239d25a8a34055371e24cbff400ce9bc808860f /drivers/bcma
parent1e5cae2f0b3460bf68ebe948bb5caa31c0281c6c (diff)
downloadlinux-27a90695e02759ccab58ca610af4f8ed79d8a35c.tar.xz
Staging: comedi: Use mutex instead of semaphore in usbduxfast.c
Replace binary semaphore with mutex because mutex gives better performance. This change is safe because the thread that decrements the value of semaphore is also the one that increments it, and acts like a mutex where owner of the lock is the only one that can release the lock. Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions