Skip to contentSkip to conversation

add EXPORT_SYMBOL for irq_exit

PATCH In review Heiko Carstens 2 participants 3 messages Jan 7, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add EXPORT_SYMBOL for irq_exit

Hi Andrew,

this patch adds the missing EXPORT_SYMBOL for irq_exit:
*** Warning: "irq_exit" [drivers/s390/net/iucv.ko] undefined!

Please apply.

Thanks,
Heiko

kernel/softirq.c +2 -0
diff -urN linux-2.6/kernel/softirq.c linux-2.6-patched/kernel/softirq.c
@@ -169,6 +169,8 @@
 	preempt_enable_no_resched();
 }
 
+EXPORT_SYMBOL(irq_exit);
+
 /*
  * This function must run with irqs disabled!
  */
#1 lore raw
Quoted 3 lines · Heiko Carstens

this patch adds the missing EXPORT_SYMBOL for irq_exit:
*** Warning: "irq_exit" [drivers/s390/net/iucv.ko] undefined!

Why do s/390 drivers call irq_exit()?

#2 lore raw
Quoted 4 lines
Quoted 2 lines

this patch adds the missing EXPORT_SYMBOL for irq_exit:
*** Warning: "irq_exit" [drivers/s390/net/iucv.ko] undefined!

Why do s/390 drivers call irq_exit()?

Good question. Seems to be a bug in the iucv driver since irq_exit might get called twice in an error case.
Just forget my "patch".

Heiko