|
@@ -301,6 +301,7 @@ int smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread)
|
|
ret = __smpboot_create_thread(plug_thread, cpu);
|
|
ret = __smpboot_create_thread(plug_thread, cpu);
|
|
if (ret) {
|
|
if (ret) {
|
|
smpboot_destroy_threads(plug_thread);
|
|
smpboot_destroy_threads(plug_thread);
|
|
|
|
+ free_cpumask_var(plug_thread->cpumask);
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
smpboot_unpark_thread(plug_thread, cpu);
|
|
smpboot_unpark_thread(plug_thread, cpu);
|