From 1b46e1faf30d916b2e01ab1678e49309d6fb9eb2 Mon Sep 17 00:00:00 2001 From: Steven Hand Date: Thu, 5 Apr 2007 08:24:56 +0100 Subject: Fix hvm balloon driver; missed this hunk in last checkin. Signed-off-by: Steven Hand --- linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-2.6-xen-sparse') diff --git a/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c b/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c index 195f06921a..4978ea58dc 100644 --- a/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c +++ b/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c @@ -276,9 +276,11 @@ static int decrease_reservation(unsigned long nr_pages) if (!PageHighMem(page)) { v = phys_to_virt(pfn << PAGE_SHIFT); scrub_pages(v, 1); +#ifdef CONFIG_XEN ret = HYPERVISOR_update_va_mapping( (unsigned long)v, __pte_ma(0), 0); BUG_ON(ret); +#endif } #ifdef CONFIG_XEN_SCRUB_PAGES else { -- cgit v1.2.3