Re: genirq handle helper

From: Ingo Molnar
Date: Wed May 31 2006 - 01:48:10 EST



* Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi Ingo, Thomas !
>
> This simple pach makes the transition easier. By making
> generic_handle_irq() call the old __do_IRQ if no new-style handler
> exist for a given irq, the transition from old style to new style is
> made easier for me. That is, I can have some PICs use the new handler
> mecanism while old ones still get __do_IRQ without having the common
> powerpc code caring about the type of PIC (it just does
> generic_handle_irq()).
>
> Might be useful to others as well, at least until everybody is ported
> over.

yeah, good idea - this will also make the MSI fix simpler.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Andrew, if you add Ben's patch, you can drop the
arch/x86_64/kernel/irq.c bits of genirq-msi-fixes.patch. [if they stay
they wont hurt, they'll only be redundant.]

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/