projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stop_machine: Kill smp_hotplug_thread->pre_unpark, introduce stop_machine_unpark()
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
smpboot.c
diff --git
a/kernel/smpboot.c
b/kernel/smpboot.c
index a818cbc73e147382488cb0ea5bb5c490c6a46e15..d264f59bff56cb128edc68c5746280a2499752d5 100644
(file)
--- a/
kernel/smpboot.c
+++ b/
kernel/smpboot.c
@@
-222,9
+222,8
@@
static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cp
{
struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu);
- if (ht->pre_unpark)
- ht->pre_unpark(cpu);
- kthread_unpark(tsk);
+ if (!ht->selfparking)
+ kthread_unpark(tsk);
}
void smpboot_unpark_threads(unsigned int cpu)