Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196733
b: refs/heads/master
c: 3789ae7
h: refs/heads/master
i:
  196731: c0bc445
v: v3
  • Loading branch information
Steffen Klassert authored and Herbert Xu committed May 19, 2010
1 parent 2ca22d3 commit dec0c45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0198ffd135f51d4fbb0c50036395716c06632ed9
refs/heads/master: 3789ae7dcd29fa146b23dc30377925d1f73c8adf
3 changes: 3 additions & 0 deletions trunk/kernel/padata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dec0c45

Please sign in to comment.