# HG changeset patch # User Keir Fraser # Date 1281368349 -3600 # Node ID 07ea977397e0f7bde649d2542bba037fd2a951bf # Parent 2129cabe5f3322324587e4d640e27179960717d9 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 diff -r 2129cabe5f33 -r 07ea977397e0 xen/common/schedule.c --- a/xen/common/schedule.c Mon Aug 09 16:37:33 2010 +0100 +++ b/xen/common/schedule.c Mon Aug 09 16:39:09 2010 +0100 @@ -1313,7 +1313,7 @@ void schedule_cpu_switch(unsigned int cp spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags); - SCHED_OP(old_ops, free_vdata, vpriv); + SCHED_OP(old_ops, free_vdata, vpriv_old); SCHED_OP(old_ops, free_pdata, ppriv_old, cpu); }