mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
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:
parent
65ff577e6b
commit
c635696c7c
2 changed files with 23 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue