linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add irq host and hwirq pair fields to output when showing interrupts.
@ 2007-03-13  3:19 Zhang Wei
  2007-03-13  7:14 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: Zhang Wei @ 2007-03-13  3:19 UTC (permalink / raw)
  To: paulus, galak; +Cc: linuxppc-dev, r54964

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
---
 arch/powerpc/kernel/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 919fbf5..2a30ffd 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -194,7 +194,7 @@ #else
 		seq_printf(p, "%10u ", kstat_irqs(i));
 #endif /* CONFIG_SMP */
 		if (desc->chip)
-			seq_printf(p, " %s ", desc->chip->typename);
+			seq_printf(p, " (%3d) @%s ", (irq_map[i].host->revmap_type == IRQ_HOST_MAP_LEGACY) ? i : virq_to_hw(i), desc->chip->typename);
 		else
 			seq_puts(p, "  None      ");
 		seq_printf(p, "%s", (desc->status & IRQ_LEVEL) ? "Level " : "Edge  ");
-- 
1.4.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-15 10:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13  3:19 [PATCH] Add irq host and hwirq pair fields to output when showing interrupts Zhang Wei
2007-03-13  7:14 ` Benjamin Herrenschmidt
2007-03-13  9:32   ` [PATCH] Add irq host and hwirq pair fields to output whenshowing interrupts Zhang Wei-r63237
2007-03-13 13:52     ` Benjamin Herrenschmidt
2007-03-15  9:53       ` [PATCH] Add irq host and hwirq pair fields to outputwhenshowing interrupts Zhang Wei-r63237
2007-03-15 10:22         ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).