Re: changes for 2.6.19

On Thursday 07 December 2006 10:41 am, Ian Abbott wrote:
> On 07/12/06 07:23, Bernd Porr wrote:
> > Sorry. I meant "interrupt handler".
>
> This affects all drivers that use interrupts, not just PCI.  Basically
> the final parameter of the handler (of type 'struct pt_regs *') has gone
> in 2.6.19.  They old ones will probably still work for 2.6.19 despite
> the compiler warnings (as long as they ignore the parameter), but don't
> count on this because in C terms it results in "undefined behavior".

I've added a PT_REGS_ARG macro and used it to fix all the interrupt handler 
prototypes in the drivers for 2.6.19.

-- 
Frank

Received on 2006-12-13Z02:07:46