[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100105203842.04a1a523@hyperion.delvare>
Date: Tue, 5 Jan 2010 20:38:42 +0100
From: Jean Delvare <khali@...ux-fr.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] set_irq_noprobe shouldn't be __init
Non-__init functions need to call set_irq_noprobe() so this function
shouldn't be marked __init. Also remove __init from set_irq_probe()
for consistency.
Signed-off-by: Jean Delvare <khali@...ux-fr.org>
Cc: Ralf Baechle <ralf@...ux-mips.org>
Cc: Samuel Ortiz <sameo@...ux.intel.com>
---
kernel/irq/chip.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.33-rc2.orig/kernel/irq/chip.c 2009-12-18 08:34:52.000000000 +0100
+++ linux-2.6.33-rc2/kernel/irq/chip.c 2010-01-05 17:21:38.000000000 +0100
@@ -682,7 +682,7 @@ set_irq_chip_and_handler_name(unsigned i
__set_irq_handler(irq, handle, 0, name);
}
-void __init set_irq_noprobe(unsigned int irq)
+void set_irq_noprobe(unsigned int irq)
{
struct irq_desc *desc = irq_to_desc(irq);
unsigned long flags;
@@ -697,7 +697,7 @@ void __init set_irq_noprobe(unsigned int
raw_spin_unlock_irqrestore(&desc->lock, flags);
}
-void __init set_irq_probe(unsigned int irq)
+void set_irq_probe(unsigned int irq)
{
struct irq_desc *desc = irq_to_desc(irq);
unsigned long flags;
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists