Thread (3 messages) 3 messages, 2 authors, 2004-06-14

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

flat view

From: Leigh Brown <hidden>
Date: 2004-06-14 20:07:44

Geert Uytterhoeven said:
quoted
+
+		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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help