Skip to contentSkip to conversation

make resend_irq_on_evtchn() non-static

PATCH In review Alex Williamson 2 participants 3 messages Jan 22, 2007 – Jan 23, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make resend_irq_on_evtchn() non-static

We still have a need to call resend_irq_on_evtchn() directly on ia64.
This patch changes it back to non-static. Thanks,

Alex

---

linux-2.6-xen-sparse/drivers/xen/core/evtchn.c +2 -2
diff -r 1c0ca58e8c16 linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
@@ -60,7 +60,7 @@ static int evtchn_to_irq[NR_EVENT_CHANNE
 /* Packed IRQ information: binding type, sub-type index, and event channel. */
 static u32 irq_info[NR_IRQS];
 
-static int resend_irq_on_evtchn(unsigned int);
+int resend_irq_on_evtchn(unsigned int);
 
 /* Binding types. */
 enum {
@@ -824,7 +824,7 @@ int irq_ignore_unhandled(unsigned int ir
 	return !!(irq_status.flags & XENIRQSTAT_shared);
 }
 
-static int resend_irq_on_evtchn(unsigned int i)
+int resend_irq_on_evtchn(unsigned int i)
 {
 	int evtchn = evtchn_from_irq(i);
 	shared_info_t *s = HYPERVISOR_shared_info;
#1 lore raw
Quoted 2 lines · Alex Williamson

We still have a need to call resend_irq_on_evtchn() directly on ia64.
This patch changes it back to non-static. Thanks,

Can't you h->retrigger(vector) in ia64_resend_irq()?

-- Keir

#2 lore raw
Quoted 6 lines · Keir Fraser
Quoted 2 lines · Alex Williamson

We still have a need to call resend_irq_on_evtchn() directly on ia64.
This patch changes it back to non-static. Thanks,

Can't you h->retrigger(vector) in ia64_resend_irq()?

ia64_resend_irq() doesn't get an interrupt type pointer anymore. We
might be able to derive it, but this seemed more straight forward. Thanks,

Alex

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.