aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/page_alloc.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/page_alloc.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/page_alloc.c')
-rw-r--r--xen/common/page_alloc.c5
1 files changed, 5 insertions, 0 deletions
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.