Re: [PATCH] Generic IRQ: Add unlocked version of set_irq_handler()

From: Thomas Gleixner
Date: Wed Dec 12 2007 - 10:16:00 EST


On Wed, 12 Dec 2007, Ingo Molnar wrote:

>
> * Kevin Hilman <khilman@xxxxxxxxxx> wrote:
>
> > Add unlocked version for use by irq_chip.set_type handlers which may
> > wish to change handler to level or edge handler when IRQ type is
> > changed.
> >
> > The normal set_irq_handler() call cannot be used because it tries to
> > take irq_desc.lock which is already held when the irq_chip.set_type
> > hook is called.
>
> looks fine to me. Thomas?

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/