ia64/xen-unstable

changeset 5934:0e2461cdbad1

x86_32 build fix.
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 29 10:40:39 2005 +0000 (2005-07-29)
parents c4cb2167d3c7
children 55a5ad2f028d
files xen/arch/x86/x86_32/mm.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/mm.c	Fri Jul 29 10:37:30 2005 +0000
     1.2 +++ b/xen/arch/x86/x86_32/mm.c	Fri Jul 29 10:40:39 2005 +0000
     1.3 @@ -102,7 +102,7 @@ void __init paging_init(void)
     1.4          mpt_size = 4*1024*1024;
     1.5      for ( i = 0; i < (mpt_size >> L2_PAGETABLE_SHIFT); i++ )
     1.6      {
     1.7 -        if ( (pg = alloc_domheap_pages(NULL, PAGETABLE_ORDER, 0) == NULL )
     1.8 +        if ( (pg = alloc_domheap_pages(NULL, PAGETABLE_ORDER, 0)) == NULL )
     1.9              panic("Not enough memory to bootstrap Xen.\n");
    1.10          idle_pg_table_l2[l2_linear_offset(RDWR_MPT_VIRT_START) + i] =
    1.11              l2e_from_page(pg, PAGE_HYPERVISOR | _PAGE_PSE);