ia64/xen-unstable

changeset 6314:19ef6202d75f

PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn
ow of no PAE specific outstanding issues. Go find some :-)
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Sun Aug 21 00:10:30 2005 +0000 (2005-08-21)
parents bd5533956fb0
children 0f69e0adddb0
files linux-2.6-xen-sparse/drivers/xen/console/console.c xen/arch/x86/domain_build.c
line diff
     2.1 --- a/xen/arch/x86/domain_build.c	Sat Aug 20 20:05:21 2005 +0000
     2.2 +++ b/xen/arch/x86/domain_build.c	Sun Aug 21 00:10:30 2005 +0000
     2.3 @@ -72,7 +72,7 @@ boolean_param("dom0_translate", opt_dom0
     2.4  static struct pfn_info *alloc_largest(struct domain *d, unsigned long max)
     2.5  {
     2.6      struct pfn_info *page;
     2.7 -    unsigned int order = get_order(max * PAGE_SIZE);
     2.8 +    unsigned int order = get_order(max)+PAGE_SHIFT-1;
     2.9      if ( (max & (max-1)) != 0 )
    2.10          order--;
    2.11      while ( (page = alloc_domheap_pages(d, order, 0)) == NULL )