All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irq_domain: Fix debug output to use "irq" instead of "virq"
@ 2012-04-10 23:51 Grant Likely
  0 siblings, 0 replies; only message in thread
From: Grant Likely @ 2012-04-10 23:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Grant Likely

Back when irq_domain was a powerpc-only thing, the term "virq", or
virtual irq, was used to differentiate irq numbers from hardware irq
numbers.  However, virqs are synonymous with Linux irq numbers, so
using a different term is confusing.  This patch changes the debug
output to use the header "irq" instead of "virq" for the irq number
output column.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
 kernel/irq/irqdomain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 4bf074a..b792e58 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -643,7 +643,7 @@ static int virq_debug_show(struct seq_file *m, void *private)
 	void *data;
 	int i;
 
-	seq_printf(m, "%-5s  %-7s  %-15s  %-18s  %s\n", "virq", "hwirq",
+	seq_printf(m, "%-5s  %-7s  %-15s  %-18s  %s\n", "irq", "hwirq",
 		      "chip name", "chip data", "domain name");
 
 	for (i = 1; i < nr_irqs; i++) {
-- 
1.7.9.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-10 23:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-10 23:51 [PATCH] irq_domain: Fix debug output to use "irq" instead of "virq" Grant Likely

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.