Prev: [rfc patch] wm8994: range checking issue
Next: [PATCH] Fix section mismatches in virtual framebuffer
From: Henrik Kretzschmar on 24 Mar 2010 08:10 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(a)nachtwindheim.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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |