crypto: pcrypt - Use the online cpumask as the default
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 28 Mar 2012 06:51:03 +0000 (08:51 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Mar 2012 11:52:47 +0000 (19:52 +0800)
commitfbf0ca1bf852fe224cec5400a69cd755ddc4ddcb
treec447609eeb8ce7847b76fde5375e04678511ba49
parent9612090527526a15832480c48b1f4b39e93e8a35
crypto: pcrypt - Use the online cpumask as the default

We use the active cpumask to determine the superset of cpus
to use for parallelization. However, the active cpumask is
for internal usage of the scheduler and therefore not the
appropriate cpumask for these purposes. So use the online
cpumask instead.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/pcrypt.c