ia64/xen-unstable

changeset 2440:25e6d3dde54a

bitkeeper revision 1.1159.1.125 (413c8817QeGloXcrun_4wmbHPC3KYw)

Avoid warning message when validating a linear pagedirectory mapping.
author cl349@freefall.cl.cam.ac.uk
date Mon Sep 06 15:53:59 2004 +0000 (2004-09-06)
parents aed97013f9fe
children d9439135569e e1636300e803
files xen/arch/x86/memory.c
line diff
     1.1 --- a/xen/arch/x86/memory.c	Mon Sep 06 15:23:36 2004 +0000
     1.2 +++ b/xen/arch/x86/memory.c	Mon Sep 06 15:53:59 2004 +0000
     1.3 @@ -313,7 +313,7 @@ static int get_page_and_type_from_pagenr
     1.4      if ( unlikely(!get_page_type(page, type)) )
     1.5      {
     1.6  #ifdef VERBOSE
     1.7 -	if (type != PGT_l1_page_table)
     1.8 +	if ((type & PGT_type_mask) != PGT_l1_page_table)
     1.9  	    MEM_LOG("Bad page type for pfn %08lx (%08x)", 
    1.10  		    page_nr, page->u.inuse.type_info);
    1.11  #endif