Re: [PATCH 13/30] staging: nvec: Rewrite the interrupt handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 24, 2011 at 12:55:58PM +0200, Julian Andres Klode wrote:
> > The irqsave and irqrestore aren't needed because this function is
> > only called from the irq handler.  Otherwise the nvec->state on the
> > next line would have to be protected by the lock.
> OK. This probably also means that the local_irq_save() and
> local_irq_restore() in nvec_interrupt() are unneeded as
> well, right?

Yes.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux