All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make resend_irq_on_evtchn() non-static
@ 2007-01-22 20:32 Alex Williamson
  2007-01-23 15:18 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Williamson @ 2007-01-22 20:32 UTC (permalink / raw)
  To: Christian.Limpach; +Cc: xen-devel


   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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] make resend_irq_on_evtchn() non-static
  2007-01-22 20:32 [PATCH] make resend_irq_on_evtchn() non-static Alex Williamson
@ 2007-01-23 15:18 ` Keir Fraser
  2007-01-23 15:35   ` Alex Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2007-01-23 15:18 UTC (permalink / raw)
  To: Alex Williamson, Christian.Limpach; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] make resend_irq_on_evtchn() non-static
  2007-01-23 15:18 ` Keir Fraser
@ 2007-01-23 15:35   ` Alex Williamson
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2007-01-23 15:35 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel, Christian.Limpach

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-23 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 20:32 [PATCH] make resend_irq_on_evtchn() non-static Alex Williamson
2007-01-23 15:18 ` Keir Fraser
2007-01-23 15:35   ` Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.