mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
c92d5f4e0f
commit
cecdcf59c4
1 file changed
+1
-1
@@ -1313,7 +1313,7 @@ void schedule_cpu_switch(unsigned int cpu, struct cpupool *c)
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||