git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kill the obsolete thread_group_cputime_free() helper
[safe/jmp/linux-2.6]
/
kernel
/
padata.c
diff --git
a/kernel/padata.c
b/kernel/padata.c
index
ca89dfb
..
b1c9857
100644
(file)
--- a/
kernel/padata.c
+++ b/
kernel/padata.c
@@
-763,7
+763,10
@@
void padata_free(struct padata_instance *pinst)
#ifdef CONFIG_HOTPLUG_CPU
unregister_hotcpu_notifier(&pinst->cpu_notifier);
#endif
+ get_online_cpus();
padata_flush_queues(pinst->pd);
+ put_online_cpus();
+
padata_free_pd(pinst->pd);
free_cpumask_var(pinst->cpumask);
kfree(pinst);