kernel-ark/drivers/isdn/capi
Jan Kiszka 05b4149433 CAPI: Rework locking of capidev members
Rename 'ncci_list_mtx' to 'lock', expressing that it now protects a
larger set of capidev members: the NCCI list, ap.applid (ie. the
registration of the application), and modifications of userflags.

We do not need to protect each and every check for ap.applid because,
once an application is registered, it will stay for the whole lifetime
of the device.

Also, there is no need to apply the capidev mutex during release (if
there could be concurrent users, we would crash them anyway by freeing
the device at the end of capi_release).

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 16:01:24 -08:00
..
capi.c CAPI: Rework locking of capidev members 2010-02-16 16:01:24 -08:00
capidrv.c CAPI: Rework controller state notifier 2010-02-16 16:01:21 -08:00
capidrv.h
capifs.c CAPI: Reduce chattiness during module loading/removal 2010-02-16 16:01:19 -08:00
capifs.h CAPI: Sanitize capifs API 2010-02-16 16:01:18 -08:00
capilib.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
capiutil.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
kcapi_proc.c CAPI: Rework application locking 2010-02-16 16:01:22 -08:00
kcapi.c CAPI: Rework application locking 2010-02-16 16:01:22 -08:00
kcapi.h CAPI: Rework locking of controller data structures 2010-02-16 16:01:22 -08:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile