diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-15 14:47:41 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-15 14:47:41 +0100 |
commit | 525848a54bd7c76fa59836231368465380909463 (patch) | |
tree | c6b9e2df378ccf57f62bb85a487427cb9cf03e05 /xen/common | |
parent | 0d20a8e3737ca73ffd793e502d1747b74ee5e3f0 (diff) | |
download | xen-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')
-rw-r--r-- | xen/common/event_channel.c | 4 | ||||
-rw-r--r-- | xen/common/page_alloc.c | 5 |
2 files changed, 9 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; } diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 0f857d2142..3470d32a4a 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -42,7 +42,12 @@ #include <asm/page.h> #include <asm/numa.h> #include <asm/flushtlb.h> +#ifdef CONFIG_X86 #include <asm/p2m.h> +#else +#define p2m_pod_offline_or_broken_hit(pg) 0 +#define p2m_pod_offline_or_broken_replace(pg) BUG_ON(pg != NULL) +#endif /* * Comma-separated list of hexadecimal page numbers containing bad bytes. |