Re: genirq: Add a set_irq_handler_locked() function

2007-02-12 Thread Russell King
On Mon, Feb 12, 2007 at 02:17:28PM +1100, David Gibson wrote: > On Fri, Feb 09, 2007 at 07:36:40AM +, Russell King wrote: > > On Fri, Feb 09, 2007 at 02:48:42PM +1100, David Gibson wrote: > > > At present set_irq_handler() and all the existing variants take the > > > desc->lock for the irq in q

Re: genirq: Add a set_irq_handler_locked() function

2007-02-11 Thread David Gibson
On Fri, Feb 09, 2007 at 07:36:40AM +, Russell King wrote: > On Fri, Feb 09, 2007 at 02:48:42PM +1100, David Gibson wrote: > > At present set_irq_handler() and all the existing variants take the > > desc->lock for the irq in question before adjusting the irq's flow > > handler. This can cause p

Re: genirq: Add a set_irq_handler_locked() function

2007-02-08 Thread Russell King
On Fri, Feb 09, 2007 at 02:48:42PM +1100, David Gibson wrote: > At present set_irq_handler() and all the existing variants take the > desc->lock for the irq in question before adjusting the irq's flow > handler. This can cause problems for irq chips for which a given > interrupt can be either leve

genirq: Add a set_irq_handler_locked() function

2007-02-08 Thread David Gibson
Thomas, as discussed previously over IRC and private email. Please apply. At present set_irq_handler() and all the existing variants take the desc->lock for the irq in question before adjusting the irq's flow handler. This can cause problems for irq chips for which a given interrupt can be eithe