aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/event_channel.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-15 14:47:41 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-15 14:47:41 +0100
commit525848a54bd7c76fa59836231368465380909463 (patch)
treec6b9e2df378ccf57f62bb85a487427cb9cf03e05 /xen/common/event_channel.c
parent0d20a8e3737ca73ffd793e502d1747b74ee5e3f0 (diff)
downloadxen-525848a54bd7c76fa59836231368465380909463.tar.gz
xen-525848a54bd7c76fa59836231368465380909463.tar.bz2
xen-525848a54bd7c76fa59836231368465380909463.zip
ia64: fix the build
This addresses all remaining build problems introduced over the last several months. Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/common/event_channel.c')
-rw-r--r--xen/common/event_channel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
index 588efadbbe..38980e29e3 100644
--- a/xen/common/event_channel.c
+++ b/xen/common/event_channel.c
@@ -365,8 +365,10 @@ static long evtchn_bind_pirq(evtchn_bind_pirq_t *bind)
bind->port = port;
+#ifdef CONFIG_X86
if ( is_hvm_domain(d) && domain_pirq_to_irq(d, pirq) > 0 )
map_domain_emuirq_pirq(d, pirq, IRQ_PT);
+#endif
out:
spin_unlock(&d->event_lock);
@@ -421,8 +423,10 @@ static long __evtchn_close(struct domain *d1, int port1)
pirq->evtchn = 0;
pirq_cleanup_check(pirq, d1);
unlink_pirq_port(chn1, d1->vcpu[chn1->notify_vcpu_id]);
+#ifdef CONFIG_X86
if ( is_hvm_domain(d1) && domain_pirq_to_irq(d1, pirq->pirq) > 0 )
unmap_domain_pirq_emuirq(d1, pirq->pirq);
+#endif
break;
}