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

Jeff Garzik
2006-10-06T11:15:26Z

Alan Cox wrote:
> Ar Iau, 2006-10-05 am 20:52 -0400, ysgrifennodd Jeff Garzik:
>> The overwhelming majority of irq handlers don't use the 'irq' argument
>> either... the driver-supplied pointer is what drivers use, exclusively,
>> to differentiate between different instances.
>>
>> If we are going to break all the irq handlers, I'd suggest going ahead
>> and removing that one too.
>
> NAK to that, it will mess up a lot of older drivers which still use the
> irq field and also those who want it to print

Look at the pt_regs change -- the irq change is similar:

The information does not go away, it is merely available via another avenue.

Jeff