History

genirq: Export handle_bad_irq

A cleanup of the omap gpio driver introduced a use of the handle_bad_irq() function in a device driver that can be a loadable module. This broke the ARM allmodconfig build: ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined! This patch exports the handle_bad_irq symbol in order to allow the use in modules.

Arnd Bergmann committed 11 years ago

Commit 9d67dc51 parent c6fa8e61 file · +1 −0Browse files

Unified · Split

kernel/irq/handle.c+1−0
@@ -35,6 +35,7 @@ void handle_bad_irq(struct irq_desc *desc) · 34 unmodified lines
3535 kstat_incr_irqs_this_cpu(desc);
3636 ack_bad_irq(irq);
3737 }
38+EXPORT_SYMBOL_GPL(handle_bad_irq);
3839
3940 /*
4041 * Special, empty irq handler: