Skip to contentSkip to conversation

ipipe: export symbol of __ipipe_dispatch_irq

PATCH In review Fino Meng 2 participants 2 messages Dec 7, 2020 – Dec 11, 2020

lore
Share & tools
lore

Fino Meng

author
#0 lore raw

PATCH 1/1 ipipe: export symbol of __ipipe_dispatch_irq

some drivers referenced __ipipe_dispatch_irq may compile as kernel module, which need __ipipe_dispatch_irq exported otherwise build will fail.

---
 kernel/ipipe/core.c | 1 +
 1 file changed, 1 insertion(+)
kernel/ipipe/core.c +1 -0
index 60f74291f22a..99a88e4d620e 100644
@@ -1573,6 +1573,7 @@ void __ipipe_dispatch_irq(unsigned int irq, int flags) /* hw interrupts off */
 sync:
 	__ipipe_sync_pipeline(ipipe_head_domain);
 }
+EXPORT_SYMBOL_GPL(__ipipe_dispatch_irq);
 
 void ipipe_raise_irq(unsigned int irq)
 {
Signature · 1 line
2.20.1
#1 lore raw
Quoted 1 line · Fino Meng via Xenomai

some drivers referenced __ipipe_dispatch_irq may compile as kernel

More concretely, we are talking about ipipe_handle_demuxed_irq() which contains __ipipe_dispatch_irq() - adjusting the commit message accordingly.

Quoted 14 lines

module, which need __ipipe_dispatch_irq exported otherwise build will fail.

---
 kernel/ipipe/core.c | 1 +
 1 file changed, 1 insertion(+)
kernel/ipipe/core.c +0 -0
index 60f74291f22a..99a88e4d620e 100644

kernel/ipipe/core.c void __ipipe_dispatch_irq(unsigned int irq, int flags) /* hw interrupts off */ · line 1579

Quoted 7 lines
kernel/ipipe/core.c +1 -0
@@ -1573,6 +1573,7 @@ void __ipipe_dispatch_irq(unsigned int irq, int flags) /* hw interrupts off */
 sync:
 	__ipipe_sync_pipeline(ipipe_head_domain);
 }
+EXPORT_SYMBOL_GPL(__ipipe_dispatch_irq);
 
 void ipipe_raise_irq(unsigned int irq)
 {

Affects 4.19 as well, so I'm also taking it there. And it affects all archs.

Thanks,
Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux