|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-changelog
[Xen-changelog] Fix build error with debug=y inxen/ia64 by moving 
| # HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 1e5788066d1f6e886ed71574df418c72b485b802
# Parent  c848b80c0b205d33971173ca4ab5f32b666458d8
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@xxxxxxxxxxxxxx>
diff -r c848b80c0b20 -r 1e5788066d1f xen/common/page_alloc.c
--- a/xen/common/page_alloc.c   Sun Mar 26 10:39:04 2006
+++ b/xen/common/page_alloc.c   Sun Mar 26 10:42:17 2006
@@ -219,8 +219,6 @@
 #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];
diff -r c848b80c0b20 -r 1e5788066d1f xen/include/xen/mm.h
--- a/xen/include/xen/mm.h      Sun Mar 26 10:39:04 2006
+++ b/xen/include/xen/mm.h      Sun Mar 26 10:42:17 2006
@@ -68,6 +68,9 @@
 
 #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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-changelog] Fix build error with debug=y inxen/ia64 by moving,
Xen patchbot -unstable <=
 |  |  | 
  
    |  |  |