From patchwork Sat Apr 30 20:56:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 93522 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 30E9F1008C1 for ; Sun, 1 May 2011 07:08:48 +1000 (EST) X-Greylist: delayed 717 seconds by postgrey-1.33 at bilbo; Sun, 01 May 2011 07:08:30 EST Received: from wilson.telenet-ops.be (wilson.telenet-ops.be [195.130.132.42]) by ozlabs.org (Postfix) with ESMTP id D5A4FB6F4E for ; Sun, 1 May 2011 07:08:30 +1000 (EST) Received: from georges.telenet-ops.be (unknown [195.130.137.68]) by wilson.telenet-ops.be (Postfix) with ESMTP id 4AC57717D9 for ; Sat, 30 Apr 2011 22:56:23 +0200 (CEST) Received: from ayla.of.borg ([84.193.80.148]) by georges.telenet-ops.be with bizsmtp id dwwL1g0063C005g06wwLxi; Sat, 30 Apr 2011 22:56:22 +0200 Received: from geert (helo=localhost) by ayla.of.borg with local-esmtp (Exim 4.71) (envelope-from ) id 1QGHDA-0004yb-BE; Sat, 30 Apr 2011 22:56:20 +0200 Date: Sat, 30 Apr 2011 22:56:20 +0200 (CEST) From: Geert Uytterhoeven To: Thomas Gleixner Subject: [PATCH] genirq: Fix typo CONFIG_GENIRC_IRQ_SHOW_LEVEL Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Cc: Linux/PPC Development , Linux Kernel Development X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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 --- 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)