[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1269431961-5731-1-git-send-email-henne@nachtwindheim.de>
Date: Wed, 24 Mar 2010 12:59:20 +0100
From: Henrik Kretzschmar <henne@...htwindheim.de>
To: henne@...htwindheim.de
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
Yinghai Lu <yinghai@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Jiri Kosina <jkosina@...e.cz>, linux-kernel@...r.kernel.org
Subject: [PATCH] IRQ: move two IRQ functions from .init.text to .text
Both functions should not be marked as __init, since they can
try to be called from modules after the init section is freed.
Signed-off-by: Henrik Kretzschmar <henne@...htwindheim.de>
---
kernel/irq/chip.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 42ec11b..22a0168 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -716,7 +716,7 @@ set_irq_chip_and_handler_name(unsigned int irq, struct irq_chip *chip,
__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;
@@ -731,7 +731,7 @@ void __init set_irq_noprobe(unsigned int irq)
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;
--
1.6.3.3
--
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