diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2012-12-04 16:04:36 +1000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2012-12-18 16:50:15 +0100 |
commit | 8c815fb30ed1940c66389be728b29d5ebdf05c0e (patch) | |
tree | 53cce06c455263ad0f46df234affc0a24243f304 /hw/arm_gic.c | |
parent | 8f6038009662b481fbd1e43cd69af80aa10a8223 (diff) |
arm_gic: Add cpu nr to Raised IRQ message
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>
Diffstat (limited to 'hw/arm_gic.c')
-rw-r--r-- | hw/arm_gic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 8d769de4f5..b6062c4241 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -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; } } |