ia64/xen-unstable

changeset 2653:6ca032e0b814

bitkeeper revision 1.1159.113.4 (4173d55104oPexLYuOD8RSBysshM9w)

Fix stupid shadow table bug that I introduced.
author kaf24@freefall.cl.cam.ac.uk
date Mon Oct 18 14:38:09 2004 +0000 (2004-10-18)
parents 756c16a98f27
children 05c503f1fe35 1314598e0d84
files xen/arch/x86/shadow.c
line diff
     1.1 --- a/xen/arch/x86/shadow.c	Sun Oct 17 09:46:39 2004 +0000
     1.2 +++ b/xen/arch/x86/shadow.c	Mon Oct 18 14:38:09 2004 +0000
     1.3 @@ -431,7 +431,7 @@ unsigned long shadow_l2_table(
     1.4  
     1.5      perfc_incrc(shadow_l2_table_count);
     1.6  
     1.7 -    if ( (spfn_info = alloc_shadow_page(m)) != NULL )
     1.8 +    if ( (spfn_info = alloc_shadow_page(m)) == NULL )
     1.9          BUG(); /* XXX Deal gracefully with failure. */
    1.10  
    1.11      spfn_info->u.inuse.type_info = PGT_l2_page_table;