diff options
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index ea09512a68c3..4f5d6e751a65 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -1086,10 +1086,11 @@ static int virq_debug_show(struct seq_file *m, void *private) | |||
1086 | struct irq_desc *desc; | 1086 | struct irq_desc *desc; |
1087 | const char *p; | 1087 | const char *p; |
1088 | static const char none[] = "none"; | 1088 | static const char none[] = "none"; |
1089 | void *data; | ||
1089 | int i; | 1090 | int i; |
1090 | 1091 | ||
1091 | seq_printf(m, "%-5s %-7s %-15s %s\n", "virq", "hwirq", | 1092 | seq_printf(m, "%-5s %-7s %-15s %-18s %s\n", "virq", "hwirq", |
1092 | "chip name", "host name"); | 1093 | "chip name", "chip data", "host name"); |
1093 | 1094 | ||
1094 | for (i = 1; i < nr_irqs; i++) { | 1095 | for (i = 1; i < nr_irqs; i++) { |
1095 | desc = irq_to_desc(i); | 1096 | desc = irq_to_desc(i); |
@@ -1111,6 +1112,9 @@ static int virq_debug_show(struct seq_file *m, void *private) | |||
1111 | p = none; | 1112 | p = none; |
1112 | seq_printf(m, "%-15s ", p); | 1113 | seq_printf(m, "%-15s ", p); |
1113 | 1114 | ||
1115 | data = irq_desc_get_chip_data(desc); | ||
1116 | seq_printf(m, "0x%16p ", data); | ||
1117 | |||
1114 | if (irq_map[i].host && irq_map[i].host->of_node) | 1118 | if (irq_map[i].host && irq_map[i].host->of_node) |
1115 | p = irq_map[i].host->of_node->full_name; | 1119 | p = irq_map[i].host->of_node->full_name; |
1116 | else | 1120 | else |