]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/sched.c
[PATCH] cpusets+hotplug+preepmt broken
[mirror_ubuntu-artful-kernel.git] / kernel / sched.c
index 0dc3158667a2c7aba86f65fad19989e32a1baf8e..66b2ed784822739b1c2e46c317dca2e3324fc6f1 100644 (file)
@@ -4243,7 +4243,7 @@ static void move_task_off_dead_cpu(int dead_cpu, struct task_struct *tsk)
 
        /* No more Mr. Nice Guy. */
        if (dest_cpu == NR_CPUS) {
-               tsk->cpus_allowed = cpuset_cpus_allowed(tsk);
+               cpus_setall(tsk->cpus_allowed);
                dest_cpu = any_online_cpu(tsk->cpus_allowed);
 
                /*