projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kthread: add kthread_stop_put
[linux-2.6-microblaze.git]
/
kernel
/
smpboot.c
diff --git
a/kernel/smpboot.c
b/kernel/smpboot.c
index
f47d8f3
..
1992b62
100644
(file)
--- a/
kernel/smpboot.c
+++ b/
kernel/smpboot.c
@@
-272,8
+272,7
@@
static void smpboot_destroy_threads(struct smp_hotplug_thread *ht)
struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu);
if (tsk) {
- kthread_stop(tsk);
- put_task_struct(tsk);
+ kthread_stop_put(tsk);
*per_cpu_ptr(ht->store, cpu) = NULL;
}
}