ia64/xen-unstable

changeset 2974:912f55644225

bitkeeper revision 1.1159.1.418 (41967182dDHIjEk8n6G0gWEq2g771w)

cleanup sync w/ head.
author cl349@freefall.cl.cam.ac.uk
date Sat Nov 13 20:41:38 2004 +0000 (2004-11-13)
parents d0353c3d3ebd
children afd6ea676808
files xen/common/schedule.c
line diff
     1.1 --- a/xen/common/schedule.c	Sat Nov 13 20:29:40 2004 +0000
     1.2 +++ b/xen/common/schedule.c	Sat Nov 13 20:41:38 2004 +0000
     1.3 @@ -492,18 +492,17 @@ static void s_timer_fn(unsigned long unu
     1.4  static void t_timer_fn(unsigned long unused)
     1.5  {
     1.6      struct exec_domain *ed = current;
     1.7 -    struct domain *d = ed->domain;
     1.8  
     1.9      TRACE_0D(TRC_SCHED_T_TIMER_FN);
    1.10  
    1.11 -    if ( !is_idle_task(d) )
    1.12 +    if ( !is_idle_task(ed->domain) )
    1.13      {
    1.14 -        update_dom_time(d);
    1.15 +        update_dom_time(ed->domain);
    1.16          send_guest_virq(ed, VIRQ_TIMER);
    1.17      }
    1.18  
    1.19 -    t_timer[d->processor].expires = NOW() + MILLISECS(10);
    1.20 -    add_ac_timer(&t_timer[d->processor]);
    1.21 +    t_timer[ed->processor].expires = NOW() + MILLISECS(10);
    1.22 +    add_ac_timer(&t_timer[ed->processor]);
    1.23  }
    1.24  
    1.25  /* Domain timer function, sends a virtual timer interrupt to domain */