Question about spinlocks in comedi interrupt routines

Hi,

I need to use a spinlock in an interrupt routine set up using the 
'comedi_request_irq' function.  Outside the interrupt routine context, I 
use 'comedi_spin_lock_irqsave' to acquire the spinlock.  Do I need to 
use that function inside the interrupt routine, or can I just use the 
regular 'spin_lock' function instead?  I guess what I'm really looking 
for is a 'comedi_spin_lock' function!

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-01-18Z16:52:46