]> git.proxmox.com Git - qemu.git/commitdiff
arm_gic: Add cpu nr to Raised IRQ message
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 4 Dec 2012 06:04:36 +0000 (16:04 +1000)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 18 Dec 2012 15:50:15 +0000 (16:50 +0100)
Add the relevant CPU nr to this debug message to make IRQ debugging more
informative.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/arm_gic.c

index 8d769de4f51a552067189863149b738c8800edcc..b6062c4241f636826a590e4e3a5389a67192d49f 100644 (file)
@@ -76,7 +76,7 @@ void gic_update(GICState *s)
         if (best_prio < s->priority_mask[cpu]) {
             s->current_pending[cpu] = best_irq;
             if (best_prio < s->running_priority[cpu]) {
-                DPRINTF("Raised pending IRQ %d\n", best_irq);
+                DPRINTF("Raised pending IRQ %d (cpu %d)\n", best_irq, cpu);
                 level = 1;
             }
         }