direct-io.hg

changeset 11354:586c5fe8cf3e

[IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5

revert arch_domain_destory() for old PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Tue Aug 29 09:08:29 2006 -0600 (2006-08-29)
parents 003fdc4f0a7c
children 74db626d2fcf af50fb41612c
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Tue Aug 29 09:05:46 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Tue Aug 29 09:08:29 2006 -0600
     1.3 @@ -402,16 +402,8 @@ fail_nomem:
     1.4  void arch_domain_destroy(struct domain *d)
     1.5  {
     1.6  	BUG_ON(d->arch.mm.pgd != NULL);
     1.7 -	if (d->shared_info != NULL) {
     1.8 -		/* If this domain is domVTi, the shared_info page may
     1.9 -		 * be replaced with domheap. Then the shared_info page
    1.10 -		 * frees in relinquish_mm().
    1.11 -		 */
    1.12 -		if (IS_XEN_HEAP_FRAME(virt_to_page(d->shared_info))) {
    1.13 -			free_xenheap_pages(d->shared_info,
    1.14 -			                   get_order_from_shift(XSI_SHIFT));
    1.15 -		}
    1.16 -	}
    1.17 +	if (d->shared_info != NULL)
    1.18 +	    free_xenheap_pages(d->shared_info, get_order_from_shift(XSI_SHIFT));
    1.19  	if (d->arch.shadow_bitmap != NULL)
    1.20  		xfree(d->arch.shadow_bitmap);
    1.21