make resend_irq_on_evtchn() non-static
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
Signed-off-by Alex Williamson <[email protected]>
---
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c +2 -2
@@ -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 irreturn !!(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;
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
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)inia64_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.