Re: [PATCH 3/3] IRQ: Maintain regs pointer globally rather than passing to IRQ handlers

Andrew Morton
2006-10-02T20:59:17Z

On Mon, 2 Oct 2006 13:46:11 -0700
David Brownell <david-b@pacbell.net> wrote:

> The only downside I can think of for dropping pt_regs is that now it's harder
> to just find the IRQ handler in a driver ... it's previously been all but
> guaranteed that the _only_ use of that type is the IRQ logic. The upsides
> surely outweigh that.

You can use irqreturn_t for that.