projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vmstat: mlocked pages statistics
[linux-2.6-block.git]
/
kernel
/
kthread.c
diff --git
a/kernel/kthread.c
b/kernel/kthread.c
index 6111c27491b1a0808929e5d4619cbc3e033fcfa8..96cff2f8710baac71e7ce91ec96202665142b5e8 100644
(file)
--- a/
kernel/kthread.c
+++ b/
kernel/kthread.c
@@
-176,7
+176,7
@@
void kthread_bind(struct task_struct *k, unsigned int cpu)
return;
}
/* Must have done schedule() in kthread() before we set_task_cpu */
- wait_task_inactive(k);
+ wait_task_inactive(k
, 0
);
set_task_cpu(k, cpu);
k->cpus_allowed = cpumask_of_cpu(cpu);
k->rt.nr_cpus_allowed = 1;