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:
Keir Fraser committed 2010-08-09 16:39:09 +01:00
1 parent c92d5f4e0f
commit cecdcf59c4
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.