Skip to contentSkip to conversation

Fixed build error with debug=y

PATCH New Masaki Kanno 1 participant 1 message Mar 25, 2006

lore
Share & tools
lore
#0 lore raw

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.

Best regards,
Kan

xen/common/page_alloc.c +0 -2
diff -r 2e81aba147eb xen/common/page_alloc.c
@@ -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 20
 static struct list_head heap[NR_ZONES][MAX_ORDER+1];
 
 static unsigned long avail[NR_ZONES];
xen/include/xen/mm.h +3 -0
diff -r 2e81aba147eb 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()              \

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel