Fixed build error with debug=y
PATCH 1/1 Fixed build error with debug=y
Hi,
This patch fixed build error with debug=y in the xen/ia64. The MAX_ORDER definition has moved into the header file.
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
xen/common/page_alloc.c +0 -2
@@ -219,8 +219,6 @@ unsigned long alloc_boot_pages(unsigned#define pfn_dom_zone_type (_pfn) \ (((_pfn) <= MAX_DMADOM_PFN) ? MEMZONE_DMADOM : MEMZONE_DOM) -/* Up to 2^20 pages can be allocated at once. */ -#define MAX_ORDER 20static struct list_head heap[NR_ZONES ][MAX_ORDER +1 ];static unsigned long avail[NR_ZONES ];
xen/include/xen/mm.h +3 -0
@@ -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 () \
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel