Move MAX_DMADOM_PFN to asm/config.h.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Per Isaku Yamahata's patch, shouldn't the redefine also include the follwoing change?
#define MAX_DMADOM_PFN (0x7FFFFFFFUL >> PAGE_SHIFT)
Thanks,
Jon
Quoted 50 lines · Xen patchbot -unstable
# HG changeset patch
# User [email protected]
# Node ID1712b52e00743c66d3245a0961f7b2ebcacb8354# Parent4cce50ba45208ff31c2addfe0a9a0ef9083e64a0MoveMAX_DMADOM_PFNtoasm/config.h.Signed-off-by Keir Fraser <[email protected]>diff -r
4cce50ba4520-r1712b52e0074xen/common/page_alloc.cxen/common/page_alloc.c +0
-2@@ -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-r1712b52e0074xen/include/asm-ia64/config.hxen/include/asm-ia64/config.h +2
-0@@ -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-r1712b52e0074xen/include/asm-x86/config.hxen/include/asm-x86/config.h +2
-0@@ -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
[email protected]
http://lists.xensource.com/xen-changelog
Quoted 4 lines · Jon Mason
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