Merge tag 'v5.2-rc5' into sched/core, to pick up fixes
[linux-2.6-microblaze.git] / kernel / cgroup / cpuset.c
index 515525f..a1590e2 100644 (file)
@@ -2829,7 +2829,7 @@ static void cpuset_fork(struct task_struct *task)
        if (task_css_is_root(task, cpuset_cgrp_id))
                return;
 
-       set_cpus_allowed_ptr(task, &current->cpus_allowed);
+       set_cpus_allowed_ptr(task, current->cpus_ptr);
        task->mems_allowed = current->mems_allowed;
 }