i8259: Do not update IRQ output after spurious pic_poll_read
commitafdb06f84920c4949da904b045cdd105caf2579c
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Oct 2011 07:19:42 +0000 (7 09:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 16 Oct 2011 11:11:04 +0000 (16 11:11 +0000)
tree4b5cf8ca8cb059375724fb6e173ed87299669c08
parent2e2b22749985f81f33f79c5cab8994ea45bb9a2b
i8259: Do not update IRQ output after spurious pic_poll_read

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>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/i8259.c