git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
kernel
/
kthread.c
diff --git
a/kernel/kthread.c
b/kernel/kthread.c
index
dbbc727
..
43fa039
100644
(file)
--- a/
kernel/kthread.c
+++ b/
kernel/kthread.c
@@
-174,7
+174,7
@@
int kthread_stop(struct task_struct *k)
/* Must init completion *before* thread sees kthread_stop_info.k */
init_completion(&kthread_stop_info.done);
- wmb();
+
smp_
wmb();
/* Now set kthread_should_stop() to true, and wake it up. */
kthread_stop_info.k = k;