From: Steffen Klassert Date: Wed, 7 Jul 2010 13:30:10 +0000 (+0200) Subject: padata: Check for valid padata instance on start X-Git-Tag: v2.6.36-rc1~568^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c879170296174bde05cd1c643dac16594edee77;p=pandora-kernel.git padata: Check for valid padata instance on start This patch introduces the PADATA_INVALID flag which is checked on padata start. This will be used to mark a padata instance as invalid, if the padata cpumask does not intersect with the active cpumask. we change padata_start to return an error if the PADATA_INVALID is set. Also we adapt the only padata user, pcrypt to this change. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed