Use per-subdevice spin-lock instead of big_comedi_lock. Renamed existing
authorIan Abbott <abbotti@mev.co.uk>
Wed, 5 Dec 2007 12:52:15 +0000 (12:52 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 5 Dec 2007 12:52:15 +0000 (12:52 +0000)
commit8a78c59a89e2cfea9a0441220510230fed1050fd
treec41f15e6bcffd8b1c37e99dc6e2e835816a24071
parentb651cb0c60923dbe162fb47170edf8244568600b
Use per-subdevice spin-lock instead of big_comedi_lock.  Renamed existing
subdevice 'runflags_lock' to 'spin_lock' for more general use.  (Could have
used a separate spin-lock for locking/unlocking subdevices, but there
shouldn't be much contention for the existing spin-lock used for setting/
getting runflags.)
comedi/comedi_fops.c
comedi/comedi_ksyms.c
comedi/kcomedilib/kcomedilib_main.c
include/linux/comedidev.h