All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xen-changelog] Move MAX_DMADOM_PFN to asm/config.h.
       [not found] <E1F3aVz-0003Ks-UF@xenbits.xensource.com>
@ 2006-01-30 17:39 ` Jon Mason
  2006-01-30 17:54   ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Mason @ 2006-01-30 17:39 UTC (permalink / raw)
  To: xen-devel; +Cc: yamahata

Per Isaku Yamahata's patch, shouldn't the redefine also include the
follwoing change?

#define MAX_DMADOM_PFN (0x7FFFFFFFUL >> PAGE_SHIFT)

Thanks,
Jon

On Mon, Jan 30, 2006 at 03:00:23PM +0000, Xen patchbot -unstable wrote:
> # HG changeset patch
> # User kaf24@firebug.cl.cam.ac.uk
> # Node ID 1712b52e00743c66d3245a0961f7b2ebcacb8354
> # Parent  4cce50ba45208ff31c2addfe0a9a0ef9083e64a0
> Move MAX_DMADOM_PFN to asm/config.h.
> 
> Signed-off-by: Keir Fraser <keir@xensource.com>
> 
> diff -r 4cce50ba4520 -r 1712b52e0074 xen/common/page_alloc.c
> --- a/xen/common/page_alloc.c	Sun Jan 29 09:55:28 2006
> +++ b/xen/common/page_alloc.c	Mon Jan 30 10:23:32 2006
> @@ -215,8 +215,6 @@
>  #define MEMZONE_DMADOM 2
>  #define NR_ZONES    3
>  
> -
> -#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
>  #define pfn_dom_zone_type(_pfn)                                 \
>      (((_pfn) <= MAX_DMADOM_PFN) ? MEMZONE_DMADOM : MEMZONE_DOM)
>  
> diff -r 4cce50ba4520 -r 1712b52e0074 xen/include/asm-ia64/config.h
> --- a/xen/include/asm-ia64/config.h	Sun Jan 29 09:55:28 2006
> +++ b/xen/include/asm-ia64/config.h	Mon Jan 30 10:23:32 2006
> @@ -39,6 +39,8 @@
>  //#define CONFIG_NR_CPUS 16
>  //leave SMP for a later time
>  //#undef CONFIG_SMP
> +
> +#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
>  
>  #ifndef __ASSEMBLY__
>  
> diff -r 4cce50ba4520 -r 1712b52e0074 xen/include/asm-x86/config.h
> --- a/xen/include/asm-x86/config.h	Sun Jan 29 09:55:28 2006
> +++ b/xen/include/asm-x86/config.h	Mon Jan 30 10:23:32 2006
> @@ -64,6 +64,8 @@
>  #define STACK_ORDER 1
>  #endif
>  #define STACK_SIZE  (PAGE_SIZE << STACK_ORDER)
> +
> +#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
>  
>  #ifndef __ASSEMBLY__
>  extern unsigned long _end; /* standard ELF symbol */
> 
> _______________________________________________
> Xen-changelog mailing list
> Xen-changelog@lists.xensource.com
> http://lists.xensource.com/xen-changelog
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xen-changelog] Move MAX_DMADOM_PFN to asm/config.h.
  2006-01-30 17:39 ` [Xen-changelog] Move MAX_DMADOM_PFN to asm/config.h Jon Mason
@ 2006-01-30 17:54   ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2006-01-30 17:54 UTC (permalink / raw)
  To: Jon Mason; +Cc: yamahata, xen-devel


On 30 Jan 2006, at 17:39, Jon Mason wrote:

> Per Isaku Yamahata's patch, shouldn't the redefine also include the
> follwoing change?
>
> #define MAX_DMADOM_PFN (0x7FFFFFFFUL >> PAGE_SHIFT)

Ah yes, I'll add that.

  -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-30 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1F3aVz-0003Ks-UF@xenbits.xensource.com>
2006-01-30 17:39 ` [Xen-changelog] Move MAX_DMADOM_PFN to asm/config.h Jon Mason
2006-01-30 17:54   ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.