That was noted briefly in the push email:
[...]
[...]
After going over every irq handler (read: almost every driver in the
kernel, plus arch code), my #irq-remove branch has confirmed what my gut
already knew -- the 'irq' argument is completely unused for almost every
driver. So I was taking that line of thought as far as it went.
I found less than 10 cases (out of ~1100) that actually did something
useful with the value _and_ did not have the value already stashed
somewhere in a reached data structure.
Those cases are easily handled a la pt_regs change -- via a
get_irqfunc_irq() -- as a quick fix, or the preferred cleanup would be
to pass info properly via the standard method for passing info to irq
handlers: dev_id
Jeff
--