Fix get_page_type() when passed PGT_va_mutable.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-03-28 21:21:26 +01:00
1 parent fd8719a931
commit 57f82067cf
1 file changed
+1 -2
+1 -2
View File
@@ -1528,10 +1528,9 @@ int get_page_type(struct page_info *page, unsigned long type)
nx &= ~PGT_va_mask;
nx |= type; /* we know the actual type is correct */
}
else
else if ( (type & PGT_va_mask) != PGT_va_mutable )
{
ASSERT((type & PGT_va_mask) != (x & PGT_va_mask));
ASSERT((type & PGT_va_mask) != PGT_va_mutable);
#ifdef CONFIG_X86_PAE
/* We use backptr as extra typing. Cannot be unknown. */
if ( (type & PGT_type_mask) == PGT_l2_page_table )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.