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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 12:58:57 +0000 (17:58 +0530)
commite48eeba8fdfd47dbd8b48f4df003b7eb11d2ba90
tree6d7b11e14015a40b63f1bfb463cdc87fdd610811
parent667e32081828339eb14fdb8be19f270927f8af51
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