aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2008-02-12 13:30:05 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:44:58 +0200
commit9f0e738f492522a2f70ad9a2a0287e4e966c633a (patch)
treee586f800c807ab551754e0a978179b7a2f7f021e /kernel
parent0297b80339d545045490716fa8591b215fdd9458 (diff)
downloadkernel_samsung_aries-9f0e738f492522a2f70ad9a2a0287e4e966c633a.zip
kernel_samsung_aries-9f0e738f492522a2f70ad9a2a0287e4e966c633a.tar.gz
kernel_samsung_aries-9f0e738f492522a2f70ad9a2a0287e4e966c633a.tar.bz2
sched: fix cpus_allowed settings
Signed-off-by: Gregory Haskins <ghaskins@novell.com> Acked-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 0ac8878..25241d6 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -180,6 +180,7 @@ void kthread_bind(struct task_struct *k, unsigned int cpu)
wait_task_inactive(k);
set_task_cpu(k, cpu);
k->cpus_allowed = cpumask_of_cpu(cpu);
+ k->rt.nr_cpus_allowed = 1;
}
EXPORT_SYMBOL(kthread_bind);