Skip to contentSkip to conversation

irq: Export handle_fasteoi_irq() to modules

PATCH In review Mark Brown 2 participants 3 messages Aug 27, 2014 IRQ

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 irq: Export handle_fasteoi_irq() to modules

From: Mark Brown <[email protected]>

Currently handle_fasteoi_irq() is not exported which is causing build failures in -next for ARM allmodconfig due to gpio-zynq using it. Since it seems like a reasonable thing to use from a driver add an export for the function.

---
 kernel/irq/chip.c | 1 +
 1 file changed, 1 insertion(+)
kernel/irq/chip.c +1 -0
index a2b28a2fd7b1..9ce0c5dd4489 100644
@@ -517,6 +517,7 @@ out:
 		chip->irq_eoi(&desc->irq_data);
 	raw_spin_unlock(&desc->lock);
 }
+EXPORT_SYMBOL(handle_fasteoi_irq);
 
 /**
  *	handle_edge_irq - edge type IRQ handler
Signature · 1 line
2.1.0
#1 lore raw
Quoted 6 lines · Mark Brown

From: Mark Brown <[email protected]>

Currently handle_fasteoi_irq() is not exported which is causing build failures in -next for ARM allmodconfig due to gpio-zynq using it. Since it seems like a reasonable thing to use from a driver add an export for the function.

The export is already pending in tip/irq/urgent and scheduled for Linus tree.

Quoted 21 lines
---
 kernel/irq/chip.c | 1 +
 1 file changed, 1 insertion(+)
kernel/irq/chip.c +1 -0
index a2b28a2fd7b1..9ce0c5dd4489 100644
@@ -517,6 +517,7 @@ out:
 		chip->irq_eoi(&desc->irq_data);
 	raw_spin_unlock(&desc->lock);
 }
+EXPORT_SYMBOL(handle_fasteoi_irq);
 
 /**
  *	handle_edge_irq - edge type IRQ handler
Signature · 1 line
2.1.0
author
#2 lore raw
Quoted 9 lines · Thomas Gleixner
Quoted 4 lines · Mark Brown

Currently handle_fasteoi_irq() is not exported which is causing build failures in -next for ARM allmodconfig due to gpio-zynq using it. Since it seems like a reasonable thing to use from a driver add an export for the function.

The export is already pending in tip/irq/urgent and scheduled for Linus tree.

OK, thanks - it's not showing up in -next yet for some reason.