|
@@ -33,6 +33,9 @@ irqreturn_t qxl_irq_handler(int irq, void *arg)
|
|
|
|
|
|
pending = xchg(&qdev->ram_header->int_pending, 0);
|
|
pending = xchg(&qdev->ram_header->int_pending, 0);
|
|
|
|
|
|
|
|
+ if (!pending)
|
|
|
|
+ return IRQ_NONE;
|
|
|
|
+
|
|
atomic_inc(&qdev->irq_received);
|
|
atomic_inc(&qdev->irq_received);
|
|
|
|
|
|
if (pending & QXL_INTERRUPT_DISPLAY) {
|
|
if (pending & QXL_INTERRUPT_DISPLAY) {
|