[tip:irq/urgent] genirq: Fix typo CONFIG_GENIRC_IRQ_SHOW_LEVEL

tip-bot for Geert Uytterhoeven geert at linux-m68k.org
Tue May 3 05:18:57 EST 2011


Commit-ID:  94b2c363dcf732a4edab4ed66041cb36e7f28fbf
Gitweb:     http://git.kernel.org/tip/94b2c363dcf732a4edab4ed66041cb36e7f28fbf
Author:     Geert Uytterhoeven <geert at linux-m68k.org>
AuthorDate: Sat, 30 Apr 2011 22:56:20 +0200
Committer:  Thomas Gleixner <tglx at linutronix.de>
CommitDate: Mon, 2 May 2011 21:16:37 +0200

genirq: Fix typo CONFIG_GENIRC_IRQ_SHOW_LEVEL

commit ab7798ffcf98b11a9525cf65bacdae3fd58d357f ("genirq: Expand generic
show_interrupts()") added the Kconfig option GENERIC_IRQ_SHOW_LEVEL to
accomodate PowerPC, but this doesn't actually enable the functionality due
to a typo in the #ifdef check.

Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Linux/PPC Development <linuxppc-dev at lists.ozlabs.org>
Link: http://lkml.kernel.org/r/%3Calpine.DEB.2.00.1104302251370.19068%40ayla.of.borg%3E
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
 kernel/irq/proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c
index dd201bd..834899f 100644
--- a/kernel/irq/proc.c
+++ b/kernel/irq/proc.c
@@ -419,7 +419,7 @@ int show_interrupts(struct seq_file *p, void *v)
 	} else {
 		seq_printf(p, " %8s", "None");
 	}
-#ifdef CONFIG_GENIRC_IRQ_SHOW_LEVEL
+#ifdef CONFIG_GENERIC_IRQ_SHOW_LEVEL
 	seq_printf(p, " %-8s", irqd_is_level_type(&desc->irq_data) ? "Level" : "Edge");
 #endif
 	if (desc->name)


More information about the Linuxppc-dev mailing list