]> Git Repo - qemu.git/commitdiff
arm_gic: Add cpu nr to Raised IRQ message
authorPeter Crosthwaite <[email protected]>
Tue, 4 Dec 2012 06:04:36 +0000 (16:04 +1000)
committerStefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
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;
             }
         }
This page took 0.027832 seconds and 4 git commands to generate.