aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xen/arch/x86/mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c
index 7fd5b8c579..9b3d631bc0 100644
--- a/xen/arch/x86/mm.c
+++ b/xen/arch/x86/mm.c
@@ -1246,7 +1246,7 @@ void free_page_type(struct pfn_info *page, unsigned int type)
{
gpfn = __mfn_to_gpfn(owner, page_to_pfn(page));
ASSERT(VALID_M2P(gpfn));
- remove_shadow(owner, gpfn, type);
+ remove_shadow(owner, gpfn, type & PGT_type_mask);
}
}