Alex Williamson
2007-Jan-22 20:32 UTC
[Xen-devel] [PATCH] 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 <alex.williamson@hp.com> --- diff -r 1c0ca58e8c16 linux-2.6-xen-sparse/drivers/xen/core/evtchn.c --- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Mon Jan 22 13:38:04 2007 +0000 +++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Mon Jan 22 12:07:02 2007 -0700 @@ -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; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jan-23 15:18 UTC
Re: [Xen-devel] [PATCH] make resend_irq_on_evtchn() non-static
On 22/1/07 20:32, "Alex Williamson" <alex.williamson@hp.com> wrote:> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Alex Williamson
2007-Jan-23 15:35 UTC
Re: [Xen-devel] [PATCH] make resend_irq_on_evtchn() non-static
On Tue, 2007-01-23 at 15:18 +0000, Keir Fraser wrote:> On 22/1/07 20:32, "Alex Williamson" <alex.williamson@hp.com> wrote: > > > 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 -- Alex Williamson HP Open Source & Linux Org. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel