genirq: Move two IRQ functions from .init.text to .text

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, March 26, 2010 - 3:59 pm

Gitweb:     http://git.kernel.org/linus/860652bfb890bd861c999ec39fcffabe5b712f85
Commit:     860652bfb890bd861c999ec39fcffabe5b712f85
Parent:     cc8c3b78433222e5dbc1fdfcfdde29e1743f181a
Author:     Henrik Kretzschmar <henne@nachtwindheim.de>
AuthorDate: Wed Mar 24 12:59:20 2010 +0100
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Wed Mar 24 14:38:23 2010 +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@nachtwindheim.de>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Jiri Kosina <jkosina@suse.cz>
    LKML-Reference: <1269431961-5731-1-git-send-email-henne@nachtwindheim.de>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.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 git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
genirq: Move two IRQ functions from .init.text to .text, Linux Kernel Mailing ..., (Fri Mar 26, 3:59 pm)