aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2010-03-24 07:59:20 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-03-24 09:38:23 -0400
commit860652bfb890bd861c999ec39fcffabe5b712f85 (patch)
tree9a266245973217e00533039d7aa707bf09b09e55 /kernel/irq
parentcc8c3b78433222e5dbc1fdfcfdde29e1743f181a (diff)
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 71eba24a39a2..3c2d6e7737f0 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,
729 __set_irq_handler(irq, handle, 0, name); 729 __set_irq_handler(irq, handle, 0, name);
730} 730}
731 731
732void __init set_irq_noprobe(unsigned int irq) 732void set_irq_noprobe(unsigned int irq)
733{ 733{
734 struct irq_desc *desc = irq_to_desc(irq); 734 struct irq_desc *desc = irq_to_desc(irq);
735 unsigned long flags; 735 unsigned long flags;
@@ -744,7 +744,7 @@ void __init set_irq_noprobe(unsigned int irq)
744 raw_spin_unlock_irqrestore(&desc->lock, flags); 744 raw_spin_unlock_irqrestore(&desc->lock, flags);
745} 745}
746 746
747void __init set_irq_probe(unsigned int irq) 747void set_irq_probe(unsigned int irq)
748{ 748{
749 struct irq_desc *desc = irq_to_desc(irq); 749 struct irq_desc *desc = irq_to_desc(irq);
750 unsigned long flags; 750 unsigned long flags;