summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/padata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/padata.c b/kernel/padata.c
index 7372fb45eeeb..b60cc3dcee58 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -426,7 +426,7 @@ static struct parallel_data *padata_alloc_pd(struct padata_instance *pinst,
426 atomic_set(&pd->refcnt, 0); 426 atomic_set(&pd->refcnt, 0);
427 pd->pinst = pinst; 427 pd->pinst = pinst;
428 spin_lock_init(&pd->lock); 428 spin_lock_init(&pd->lock);
429 pd->cpu = cpumask_first(pcpumask); 429 pd->cpu = cpumask_first(pd->cpumask.pcpu);
430 INIT_WORK(&pd->reorder_work, invoke_padata_reorder); 430 INIT_WORK(&pd->reorder_work, invoke_padata_reorder);
431 431
432 return pd; 432 return pd;