diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-27 07:15:50 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-31 19:53:05 +0800 |
commit | c635696c7c0fbc720698dbec34bb83e53df6a967 (patch) | |
tree | 98774f70f799ed51c990af79bda8bbd0264e6a39 /kernel/padata.c | |
parent | 65ff577e6b6e482ee9de3569e058edebdc02f069 (diff) | |
download | blackbird-op-linux-c635696c7c0fbc720698dbec34bb83e53df6a967.tar.gz blackbird-op-linux-c635696c7c0fbc720698dbec34bb83e53df6a967.zip |
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, if (notification_mask) blocking_notifier_call_chain(&pinst->cpumask_change_notifier, - notification_mask, pinst); + notification_mask, + &pd_new->cpumask); pinst->flags &= ~PADATA_RESET; } |