aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/mm.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-26 11:42:17 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-26 11:42:17 +0100
commit3df5f295f80c11fea441c4e74aa23b7b3ed2d28d (patch)
tree8bd406e43a6dbab137dda2ccaa7788b1df47c13b /xen/include/xen/mm.h
parentac58fadfa5bfd652bd8c85a5e68b11309886d167 (diff)
downloadxen-3df5f295f80c11fea441c4e74aa23b7b3ed2d28d.tar.gz
xen-3df5f295f80c11fea441c4e74aa23b7b3ed2d28d.tar.bz2
xen-3df5f295f80c11fea441c4e74aa23b7b3ed2d28d.zip
Fix build error with debug=y inxen/ia64 by moving
MAX_ORDER definition has moved into a header file. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'xen/include/xen/mm.h')
-rw-r--r--xen/include/xen/mm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h
index ecd202d8a4..327758f2c2 100644
--- a/xen/include/xen/mm.h
+++ b/xen/include/xen/mm.h
@@ -68,6 +68,9 @@ unsigned long avail_domheap_pages(void);
#define ALLOC_DOM_DMA 1
+/* Up to 2^20 pages can be allocated at once. */
+#define MAX_ORDER 20
+
/* Automatic page scrubbing for dead domains. */
extern struct list_head page_scrub_list;
#define page_scrub_schedule_work() \