diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-26 23:31:23 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-27 10:11:37 +0200 |
commit | eb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc (patch) | |
tree | 078c5acb7d6ca6e3f24b45c5d4a660abcdc75202 /include/xen | |
parent | d5edbc1f75420935b1ec7e65df10c8f81cea82de (diff) | |
download | kernel_samsung_crespo-eb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc.zip kernel_samsung_crespo-eb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc.tar.gz kernel_samsung_crespo-eb1e305f4ef201e549ffd475b7dcbcd4ec36d7dc.tar.bz2 |
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/xen')
-rw-r--r-- | include/xen/events.h | 1 |
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) { |