commit | 7424713b83587006da72da84d7922471e366faba | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Tue Jul 20 08:51:25 2010 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jul 26 14:13:58 2010 +0800 |
tree | f6b8cf5db118494fc70be8f97309fd2434545223 | |
parent | b89661dff525a46edb7ee8a4423b5212068c05c0 [diff] |
padata: Check for valid cpumasks Now that we allow to change the cpumasks from userspace, we have to check for valid cpumasks in padata_do_parallel. This patch adds the necessary check. This fixes a division by zero crash if the parallel cpumask contains no active cpu. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>