Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196724
b: refs/heads/master
c: 7d0d2d3
h: refs/heads/master
v: v3
  • Loading branch information
Steffen Klassert authored and Herbert Xu committed May 3, 2010
1 parent ab1dbe4 commit 1e73241
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2cb2f1c2ccf19914e941859c07558ba5f8a4610
refs/heads/master: 7d0d2d385ca7cc511f7d1c64735a1b4aaefd9a1b
10 changes: 0 additions & 10 deletions trunk/kernel/padata.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,6 @@ int padata_set_cpumask(struct padata_instance *pinst,
struct parallel_data *pd;
int err = 0;

might_sleep();

mutex_lock(&pinst->lock);

pd = padata_alloc_pd(pinst, cpumask);
Expand Down Expand Up @@ -489,8 +487,6 @@ int padata_add_cpu(struct padata_instance *pinst, int cpu)
{
int err;

might_sleep();

mutex_lock(&pinst->lock);

cpumask_set_cpu(cpu, pinst->cpumask);
Expand Down Expand Up @@ -527,8 +523,6 @@ int padata_remove_cpu(struct padata_instance *pinst, int cpu)
{
int err;

might_sleep();

mutex_lock(&pinst->lock);

cpumask_clear_cpu(cpu, pinst->cpumask);
Expand All @@ -547,8 +541,6 @@ EXPORT_SYMBOL(padata_remove_cpu);
*/
void padata_start(struct padata_instance *pinst)
{
might_sleep();

mutex_lock(&pinst->lock);
pinst->flags |= PADATA_INIT;
mutex_unlock(&pinst->lock);
Expand All @@ -562,8 +554,6 @@ EXPORT_SYMBOL(padata_start);
*/
void padata_stop(struct padata_instance *pinst)
{
might_sleep();

mutex_lock(&pinst->lock);
pinst->flags &= ~PADATA_INIT;
mutex_unlock(&pinst->lock);
Expand Down

0 comments on commit 1e73241

Please sign in to comment.