aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/memory.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-01-23 09:39:11 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-01-23 09:39:11 +0000
commit16c97203f14f0a324187878cbd854bbc25fdb9c1 (patch)
tree506323cad2dcfacf0cc81a55240de05f934f78a9 /xen/common/memory.c
parent03a4bcf0853d32a431b52b8108e0b1c6c38409c7 (diff)
downloadxen-16c97203f14f0a324187878cbd854bbc25fdb9c1.tar.gz
xen-16c97203f14f0a324187878cbd854bbc25fdb9c1.tar.bz2
xen-16c97203f14f0a324187878cbd854bbc25fdb9c1.zip
Include some header files that are not automatically included on all archs
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/memory.c')
-rw-r--r--xen/common/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/memory.c b/xen/common/memory.c
index c796137df3..8d45439745 100644
--- a/xen/common/memory.c
+++ b/xen/common/memory.c
@@ -23,8 +23,8 @@
#include <xen/tmem_xen.h>
#include <asm/current.h>
#include <asm/hardirq.h>
-#ifdef CONFIG_X86
-# include <asm/p2m.h>
+#ifndef __ia64__
+#include <asm/p2m.h>
#endif
#include <xen/numa.h>
#include <public/memory.h>