| Submitter | Jan Kiszka |
|---|---|
| Date | Sept. 28, 2011, 11 a.m. |
| Message ID | <c2e09600f9f56d0d8d2c13015fd603fcb1068c5e.1317207666.git.jan.kiszka@siemens.com> |
| Download | mbox | patch |
| Permalink | /patch/116766/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/i8259.c b/hw/i8259.c index 65123bd..cddd3c7 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -393,7 +393,6 @@ static uint32_t pic_poll_read(PicState *s) pic_update_irq(s->pics_state); } else { ret = 0x07; - pic_update_irq(s->pics_state); } return ret;
If pic_poll_read finds no pending IRQ and return a spurious one instead, no PIC state is changed, thus we do not need to call pic_update_irq. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- hw/i8259.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)