[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-860652bfb890bd861c999ec39fcffabe5b712f85@git.kernel.org>
Date: Wed, 24 Mar 2010 13:39:54 GMT
From: tip-bot for Henrik Kretzschmar <henne@...htwindheim.de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
yinghai@...nel.org, peterz@...radead.org, jkosina@...e.cz,
henne@...htwindheim.de, tglx@...utronix.de
Subject: [tip:irq/urgent] genirq: Move two IRQ functions from .init.text to .text
Commit-ID: 860652bfb890bd861c999ec39fcffabe5b712f85
Gitweb: http://git.kernel.org/tip/860652bfb890bd861c999ec39fcffabe5b712f85
Author: Henrik Kretzschmar <henne@...htwindheim.de>
AuthorDate: Wed, 24 Mar 2010 12:59:20 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Wed, 24 Mar 2010 14:38:23 +0100
genirq: Move two IRQ functions from .init.text to .text
Both functions should not be marked as __init, since they be called
from modules after the init section is freed.
Signed-off-by: Henrik Kretzschmar <henne@...htwindheim.de>
Cc: Yinghai Lu <yinghai@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Jiri Kosina <jkosina@...e.cz>
LKML-Reference: <1269431961-5731-1-git-send-email-henne@...htwindheim.de>
Signed-off-by: Thomas Gleixner <tglx@...utronix.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 71eba24..3c2d6e7 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -729,7 +729,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;
@@ -744,7 +744,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;
--
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