Re: [PATCH] powerpc: fixup after irq changes

Paul Mackerras
2006-10-07T12:33:33Z

I wrote:

> You also removed the regs argument from the get_irq functions. That
> is a separate unrelated change, which I would want to think about for
> a bit, because at least at one stage I had a use for that parameter.

I remembered the use I had for it - for interrupt controllers that
want to save away an old cpu priority value or similar. The ones that
need to do that (xics and cell) either don't do it (xics :) or use a
per-cpu array (cell). Also, we call get_irq from an interrupt handler
for cascaded interrupts in some cases. So I have applied your patch
and fixed the rejects.

Thanks,
Paul.