hw/intc/sunxi-pic: fix irq status setting
PATCH 1/1 hw/intc/sunxi-pic: fix irq status setting
Signed-off-by liguang <[email protected]>
--- hw/intc/sunxi-pic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/intc/sunxi-pic.c +1 -1
@@ -77,7 +77,7 @@ static void sunxi_pic_set_irq(void *opaque, int irq, int level)SunxiPICState *s = opaque;if (level) { -set_bit (irq, (void *)&s->irq_pending[irq/32 ]); +set_bit (irq%32 , (void *)&s->irq_pending[irq/32 ]); }sunxi_pic_update (s); }
Signature · 1 line
1.7.2.5
Quoted 4 lines · liguang
Signed-off-by liguang <[email protected]>--- hw/intc/sunxi-pic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
This isn't in mainline, so please don't send patches-to-patches. You should just fold this sort of fix into your next version of the patchset (and mention the list of changes in the coverletter).
thanks
-- PMM