Use unlocked_ioctl file operation instead of ioctl if kernel supports it
authorIan Abbott <abbotti@mev.co.uk>
Wed, 12 Dec 2007 14:55:14 +0000 (14:55 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 12 Dec 2007 14:55:14 +0000 (14:55 +0000)
commit30d12566a6231b608cf65734dae803f05c91b9aa
treef9d786690b780d6f48e1c7ad6bb85f7eb965ee1b
parent22c197a98d48b1ee7f7ec688e8c95330ee07966d
Use unlocked_ioctl file operation instead of ioctl if kernel supports it
and use a mutex in struct comedi_device.
Some parts of the driver still need to be changed to use the mutex.
comedi/comedi_fops.c
comedi/drivers.c
include/linux/comedidev.h