diff options
Diffstat (limited to 'kernel/padata.c')
-rw-r--r-- | kernel/padata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/padata.c b/kernel/padata.c index 2abd25d79cc8..161402f0b517 100644 --- a/kernel/padata.c +++ b/kernel/padata.c | |||
@@ -112,7 +112,7 @@ int padata_do_parallel(struct padata_instance *pinst, | |||
112 | 112 | ||
113 | rcu_read_lock_bh(); | 113 | rcu_read_lock_bh(); |
114 | 114 | ||
115 | pd = rcu_dereference(pinst->pd); | 115 | pd = rcu_dereference_bh(pinst->pd); |
116 | 116 | ||
117 | err = -EINVAL; | 117 | err = -EINVAL; |
118 | if (!(pinst->flags & PADATA_INIT) || pinst->flags & PADATA_INVALID) | 118 | if (!(pinst->flags & PADATA_INIT) || pinst->flags & PADATA_INVALID) |