ia64/xen-unstable

changeset 9456:1e5788066d1f

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>
author kaf24@firebug.cl.cam.ac.uk
date Sun Mar 26 11:42:17 2006 +0100 (2006-03-26)
parents c848b80c0b20
children beb37b340903
files xen/common/page_alloc.c xen/include/xen/mm.h
line diff
     1.1 --- a/xen/common/page_alloc.c	Sun Mar 26 11:39:04 2006 +0100
     1.2 +++ b/xen/common/page_alloc.c	Sun Mar 26 11:42:17 2006 +0100
     1.3 @@ -219,8 +219,6 @@ unsigned long alloc_boot_pages(unsigned 
     1.4  #define pfn_dom_zone_type(_pfn)                                 \
     1.5      (((_pfn) <= MAX_DMADOM_PFN) ? MEMZONE_DMADOM : MEMZONE_DOM)
     1.6  
     1.7 -/* Up to 2^20 pages can be allocated at once. */
     1.8 -#define MAX_ORDER 20
     1.9  static struct list_head heap[NR_ZONES][MAX_ORDER+1];
    1.10  
    1.11  static unsigned long avail[NR_ZONES];
     2.1 --- a/xen/include/xen/mm.h	Sun Mar 26 11:39:04 2006 +0100
     2.2 +++ b/xen/include/xen/mm.h	Sun Mar 26 11:42:17 2006 +0100
     2.3 @@ -68,6 +68,9 @@ unsigned long avail_domheap_pages(void);
     2.4  
     2.5  #define ALLOC_DOM_DMA 1
     2.6  
     2.7 +/* Up to 2^20 pages can be allocated at once. */
     2.8 +#define MAX_ORDER 20
     2.9 +
    2.10  /* Automatic page scrubbing for dead domains. */
    2.11  extern struct list_head page_scrub_list;
    2.12  #define page_scrub_schedule_work()              \