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

From: Ingo Molnar
Date: Wed Dec 12 2007 - 05:25:12 EST



* 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?

Ingo
--
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/