[PATCH][RFC] Make /proc/interrupts show the correct edge/level status for PReP machines

Leigh Brown leigh at solinno.co.uk
Tue Jun 15 06:07:44 EST 2004


Geert Uytterhoeven said:
>> +
>> +		irq_edge_mask = (irq_edge_mask_hi << 8) | irq_edge_mask_lo;
>> +		for (i = 0; i < 16; ++i, irq_edge_mask >> 1)
>                                          ^^^^^^^^^^^^^^^^^^
> Shouldn't that be `irq_edge_mask >>= 1'?

Oops, yes of course.  In fact I was confused how the patch was giving
me the right results at all until I checked the source and found I'd
fixed the error but forgot to update the patch ;-)

Thanks,

Leigh.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list