ia64/xen-unstable

changeset 3736:7406a28a87bc

bitkeeper revision 1.1159.1.549 (4208fb95gxAvpOu2Y6U5GTnniA8anQ)

Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
author mafetter@fleming.research
date Tue Feb 08 17:49:09 2005 +0000 (2005-02-08)
parents f674f867d4e1 4d39c79968fa
children b8f9a4e1627b 5f7e800d87da
files xen/common/schedule.c
line diff
     1.1 --- a/xen/common/schedule.c	Tue Feb 08 17:39:38 2005 +0000
     1.2 +++ b/xen/common/schedule.c	Tue Feb 08 17:49:09 2005 +0000
     1.3 @@ -91,11 +91,13 @@ static struct ac_timer t_timer[NR_CPUS];
     1.4  
     1.5  void free_domain_struct(struct domain *d)
     1.6  {
     1.7 -    struct exec_domain *ed;
     1.8 +    int i;
     1.9  
    1.10      SCHED_OP(free_task, d);
    1.11 -    for_each_exec_domain(d, ed)
    1.12 -        arch_free_exec_domain_struct(ed);
    1.13 +    for (i = 0; i < MAX_VIRT_CPUS; i++)
    1.14 +        if ( d->exec_domain[i] )
    1.15 +            arch_free_exec_domain_struct(d->exec_domain[i]);
    1.16 +
    1.17      arch_free_domain_struct(d);
    1.18  }
    1.19