new IRQ work status

Segher Boessenkool segher at kernel.crashing.org
Thu Jun 29 23:41:21 EST 2006


>>  /* Get an IRQ number from the pending state register of the IIC */
>> -int iic_get_irq(struct pt_regs *regs)
>> +unsigned int iic_get_irq(struct pt_regs *regs)
>
> Is unsigned the right thing here? NO_IRQ is defined as (-1).

It used to be -1, it's 0 now...


Segher




More information about the Linuxppc-dev mailing list