commit | cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Tue Jul 20 08:52:20 2010 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jul 26 14:13:59 2010 +0800 |
tree | 9848a74caacea30210ed680362fe8ee0aec51a69 | |
parent | 7424713b83587006da72da84d7922471e366faba [diff] |
crypto: pcrypt - Dont calulate a callback cpu on empty callback cpumask If the callback cpumask is empty, we crash with a division by zero when we try to calculate a callback cpu. So we don't update the callback cpu in pcrypt_do_parallel if the callback cpumask is empty. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>