ia64/xen-unstable

changeset 1224:ee077109a7b3

bitkeeper revision 1.825.1.5 (4062dd86RGWf8AEVZFiiAIwTT3ufoQ)

bug fix
author iap10@tetris.cl.cam.ac.uk
date Thu Mar 25 13:24:22 2004 +0000 (2004-03-25)
parents 9eb1d25256fa
children f99bce03c4db
files xen/common/kernel.c
line diff
     1.1 --- a/xen/common/kernel.c	Thu Mar 25 13:17:59 2004 +0000
     1.2 +++ b/xen/common/kernel.c	Thu Mar 25 13:24:22 2004 +0000
     1.3 @@ -194,7 +194,7 @@ void cmain(unsigned long magic, multiboo
     1.4          for ( ; ; ) ;
     1.5      }
     1.6  
     1.7 -    max_page = (mbi->mem_upper+1024) >> (PAGE_SHIFT - 10);
     1.8 +    max_mem = max_page = (mbi->mem_upper+1024) >> (PAGE_SHIFT - 10);
     1.9  
    1.10      /* The array of pfn_info structures must fit into the reserved area. */
    1.11      if ( (sizeof(struct pfn_info) * max_page) >