Re: Question about spinlocks in comedi interrupt routines

On 19/01/2005 02:42, Frank Mori Hess wrote:
> On Tuesday 18 January 2005 11:52 am, Ian Abbott wrote:
>>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!
> 
> Just use the save/restore version everywhere.  

OK, thanks!

Received on 2005-01-19Z10:36:01