From 525848a54bd7c76fa59836231368465380909463 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 15 Nov 2011 14:47:41 +0100 Subject: ia64: fix the build This addresses all remaining build problems introduced over the last several months. Signed-off-by: Jan Beulich --- xen/common/event_channel.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xen/common/event_channel.c') 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; } -- cgit v1.2.3