mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-08-13 09:17:56 +00:00
rcu: need barrier() in UP synchronize_sched_expedited()
If synchronize_sched_expedited() is ever to be called from within kernel/sched.c in a !SMP PREEMPT kernel, the !SMP implementation needs a barrier(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
cc631fb732
commit
fc390cde36
1 changed files with 1 additions and 0 deletions
|
@ -8932,6 +8932,7 @@ struct cgroup_subsys cpuacct_subsys = {
|
||||||
|
|
||||||
void synchronize_sched_expedited(void)
|
void synchronize_sched_expedited(void)
|
||||||
{
|
{
|
||||||
|
barrier();
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(synchronize_sched_expedited);
|
EXPORT_SYMBOL_GPL(synchronize_sched_expedited);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue