ia64/xen-unstable

changeset 8700:1712b52e0074

Move MAX_DMADOM_PFN to asm/config.h.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jan 30 11:23:32 2006 +0100 (2006-01-30)
parents 4cce50ba4520
children a0a59beb6596
files xen/common/page_alloc.c xen/include/asm-ia64/config.h xen/include/asm-x86/config.h
line diff
     1.1 --- a/xen/common/page_alloc.c	Sun Jan 29 10:55:28 2006 +0100
     1.2 +++ b/xen/common/page_alloc.c	Mon Jan 30 11:23:32 2006 +0100
     1.3 @@ -215,8 +215,6 @@ unsigned long alloc_boot_pages(unsigned 
     1.4  #define MEMZONE_DMADOM 2
     1.5  #define NR_ZONES    3
     1.6  
     1.7 -
     1.8 -#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
     1.9  #define pfn_dom_zone_type(_pfn)                                 \
    1.10      (((_pfn) <= MAX_DMADOM_PFN) ? MEMZONE_DMADOM : MEMZONE_DOM)
    1.11  
     2.1 --- a/xen/include/asm-ia64/config.h	Sun Jan 29 10:55:28 2006 +0100
     2.2 +++ b/xen/include/asm-ia64/config.h	Mon Jan 30 11:23:32 2006 +0100
     2.3 @@ -40,6 +40,8 @@
     2.4  //leave SMP for a later time
     2.5  //#undef CONFIG_SMP
     2.6  
     2.7 +#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
     2.8 +
     2.9  #ifndef __ASSEMBLY__
    2.10  
    2.11  // can't find where this typedef was before?!?
     3.1 --- a/xen/include/asm-x86/config.h	Sun Jan 29 10:55:28 2006 +0100
     3.2 +++ b/xen/include/asm-x86/config.h	Mon Jan 30 11:23:32 2006 +0100
     3.3 @@ -65,6 +65,8 @@
     3.4  #endif
     3.5  #define STACK_SIZE  (PAGE_SIZE << STACK_ORDER)
     3.6  
     3.7 +#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
     3.8 +
     3.9  #ifndef __ASSEMBLY__
    3.10  extern unsigned long _end; /* standard ELF symbol */
    3.11  #endif /* __ASSEMBLY__ */