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

Dan Carpenter dan.carpenter at ORACLE.COM
Sat Sep 24 04:41:29 PDT 2011


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



More information about the devel mailing list