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>
This commit is contained in:

committed by
Herbert Xu

parent
65ff577e6b
commit
c635696c7c
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user