From: Steffen Klassert Date: Tue, 20 Jul 2010 06:49:20 +0000 (+0200) Subject: padata: Allocate cpumask dependend recources in any case X-Git-Tag: v2.6.36-rc1~568^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b89661dff525a46edb7ee8a4423b5212068c05c0;p=pandora-kernel.git padata: Allocate cpumask dependend recources in any case The cpumask separation work assumes the cpumask dependend recources present regardless of valid or invalid cpumasks. With this patch we allocate the cpumask dependend recources in any case. This fixes two NULL pointer dereference crashes in padata_replace and in padata_get_cpumask. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed