From: Steffen Klassert Date: Tue, 20 Jul 2010 06:51:25 +0000 (+0200) Subject: padata: Check for valid cpumasks X-Git-Tag: v2.6.36-rc1~568^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7424713b83587006da72da84d7922471e366faba;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed