diff options
Diffstat (limited to 'drivers/xen/balloon.c')
-rw-r--r-- | drivers/xen/balloon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index 8dc7109d61b7..8069d520c460 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c | |||
@@ -298,6 +298,11 @@ static int decrease_reservation(unsigned long nr_pages) | |||
298 | frame_list[i] = pfn_to_mfn(pfn); | 298 | frame_list[i] = pfn_to_mfn(pfn); |
299 | 299 | ||
300 | scrub_page(page); | 300 | scrub_page(page); |
301 | |||
302 | ret = HYPERVISOR_update_va_mapping( | ||
303 | (unsigned long)__va(pfn << PAGE_SHIFT), | ||
304 | __pte_ma(0), 0); | ||
305 | BUG_ON(ret); | ||
301 | } | 306 | } |
302 | 307 | ||
303 | /* Ensure that ballooned highmem pages don't have kmaps. */ | 308 | /* Ensure that ballooned highmem pages don't have kmaps. */ |