V4L/DVB: dvb-core: kill the big kernel lock
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Sep 2010 19:35:07 +0000 (16:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:11 +0000 (01:06 -0200)
commite4e62b35b8cf008f47ffd240d04bde654d289a46
tree276d881f00468e72061052c7f045bb18360ff1b1
parent634c6931637093f012df56d489e0b2f7735c235f
V4L/DVB: dvb-core: kill the big kernel lock

The dvb core only uses the big kernel lock in the open
and ioctl functions, which means it can be replaced with
a dvb specific mutex. Fortunately, all the ioctl functions
go through dvb_usercopy, so we can move the serialization
in there.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dmxdev.c
drivers/media/dvb/dvb-core/dvb_ca_en50221.c
drivers/media/dvb/dvb-core/dvb_net.c
drivers/media/dvb/dvb-core/dvbdev.c