summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-05-26 22:31:23 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2008-05-27 08:11:37 (GMT)
commiteb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc (patch)
tree078c5acb7d6ca6e3f24b45c5d4a660abcdc75202 /include
parentd5edbc1f75420935b1ec7e65df10c8f81cea82de (diff)
downloadlinux-fsl-qoriq-eb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc.tar.xz
xen: add rebind_evtchn_irq
Add rebind_evtchn_irq(), which will rebind an device driver's existing irq to a new event channel on restore. Since the new event channel will be masked and bound to vcpu0, we update the state accordingly and unmask the irq once everything is set up. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/xen/events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h
index acd8e06..a82ec0c 100644
--- a/include/xen/events.h
+++ b/include/xen/events.h
@@ -32,6 +32,7 @@ void unbind_from_irqhandler(unsigned int irq, void *dev_id);
void xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector);
int resend_irq_on_evtchn(unsigned int irq);
+void rebind_evtchn_irq(int evtchn, int irq);
static inline void notify_remote_via_evtchn(int port)
{