direct-io.hg

changeset 14724:768a4fe105e8

Fix hvm balloon driver; missed this hunk in last checkin.

Signed-off-by: Steven Hand <steven@xensource.com>
author Steven Hand <steven@xensource.com>
date Thu Apr 05 08:24:56 2007 +0100 (2007-04-05)
parents adf7f391be71
children 3121ffb809e9
files linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c	Thu Apr 05 06:51:53 2007 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c	Thu Apr 05 08:24:56 2007 +0100
     1.3 @@ -276,9 +276,11 @@ static int decrease_reservation(unsigned
     1.4  		if (!PageHighMem(page)) {
     1.5  			v = phys_to_virt(pfn << PAGE_SHIFT);
     1.6  			scrub_pages(v, 1);
     1.7 +#ifdef CONFIG_XEN
     1.8  			ret = HYPERVISOR_update_va_mapping(
     1.9  				(unsigned long)v, __pte_ma(0), 0);
    1.10  			BUG_ON(ret);
    1.11 +#endif
    1.12  		}
    1.13  #ifdef CONFIG_XEN_SCRUB_PAGES
    1.14  		else {