diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-27 01:15:50 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-31 07:53:05 -0400 |
commit | c635696c7c0fbc720698dbec34bb83e53df6a967 (patch) | |
tree | 98774f70f799ed51c990af79bda8bbd0264e6a39 /kernel/padata.c | |
parent | 65ff577e6b6e482ee9de3569e058edebdc02f069 (diff) |
padata: Pass the padata cpumasks to the cpumask_change_notifier chain
We pass a pointer to the new padata cpumasks to the cpumask_change_notifier
chain. So users can access the cpumasks without the need of an extra
padata_get_cpumask function.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/padata.c')
-rw-r--r-- | kernel/padata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/padata.c b/kernel/padata.c index 4987203770bc..1c8c1d1d301d 100644 --- a/kernel/padata.c +++ b/kernel/padata.c | |||
@@ -538,7 +538,8 @@ static void padata_replace(struct padata_instance *pinst, | |||
538 | 538 | ||
539 | if (notification_mask) | 539 | if (notification_mask) |
540 | blocking_notifier_call_chain(&pinst->cpumask_change_notifier, | 540 | blocking_notifier_call_chain(&pinst->cpumask_change_notifier, |
541 | notification_mask, pinst); | 541 | notification_mask, |
542 | &pd_new->cpumask); | ||
542 | 543 | ||
543 | pinst->flags &= ~PADATA_RESET; | 544 | pinst->flags &= ~PADATA_RESET; |
544 | } | 545 | } |