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

Jeff Garzik
2006-10-06T11:27:32Z

Ingo Molnar wrote:
> * Jeff Garzik <jeff@garzik.org> wrote:
>
>>> 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.
>
> but pt_regs is alot less frequently used than irq - and where it's used
> they arent "drivers" but mostly arch level code like hw-timer handlers.

Nonetheless the -vast majority- of drivers don't use the argument at
all, and the minority that do use it are not modern drivers.

Jeff