ia64/xen-unstable

changeset 12886:1cfd862e5254

[IA64] avoid freeing arch.privregs twice

Not sure how this worked before, but mapping vcpu regs into
guest pseudo phys space causes extra problems.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild2.aw
date Fri Dec 08 11:31:29 2006 -0700 (2006-12-08)
parents c650fe6d56f6
children 8cddaee4a51c
files xen/arch/ia64/xen/dom0_ops.c
line diff
     1.1 --- a/xen/arch/ia64/xen/dom0_ops.c	Fri Dec 08 09:32:15 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/dom0_ops.c	Fri Dec 08 11:31:29 2006 -0700
     1.3 @@ -109,6 +109,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
     1.4                          BUG_ON(v->arch.privregs == NULL);
     1.5                          free_domheap_pages(virt_to_page(v->arch.privregs),
     1.6                                        get_order_from_shift(XMAPPEDREGS_SHIFT));
     1.7 +                        v->arch.privregs = NULL;
     1.8                          relinquish_vcpu_resources(v);
     1.9                      }
    1.10                  }