debuggers.hg

changeset 21984:07ea977397e0

cpupool: correct removing cpu from cpupool

Corrects an error introduced with cs 21422.
Without the patch my machine crashed when removing a cpu from a
cpupool other than Pool-0.

Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Aug 09 16:39:09 2010 +0100 (2010-08-09)
parents 2129cabe5f33
children 9e58c46ee63b
files xen/common/schedule.c
line diff
     1.1 --- a/xen/common/schedule.c	Mon Aug 09 16:37:33 2010 +0100
     1.2 +++ b/xen/common/schedule.c	Mon Aug 09 16:39:09 2010 +0100
     1.3 @@ -1313,7 +1313,7 @@ void schedule_cpu_switch(unsigned int cp
     1.4  
     1.5      spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags);
     1.6  
     1.7 -    SCHED_OP(old_ops, free_vdata, vpriv);
     1.8 +    SCHED_OP(old_ops, free_vdata, vpriv_old);
     1.9      SCHED_OP(old_ops, free_pdata, ppriv_old, cpu);
    1.10  }
    1.11