mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
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>
This commit is contained in:
parent
8f60380096
commit
8c815fb30e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user