padata: Allocate the cpumask for the padata instance
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 4 Mar 2010 05:30:22 +0000 (13:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Mar 2010 05:30:22 +0000 (13:30 +0800)
commit74781387822cd7a549123ae2b35862bf802689be
tree3f6844cfbe3a58206e382b82a01c9300ae582c8a
parent50beceba7fdf5f10a04d8a053e62d40b742099ad
padata: Allocate the cpumask for the padata instance

The cpumask of the padata instance was used without allocated.
This caused boot crashes if CONFIG_CPUMASK_OFFSTACK is enabled.
This patch fixes this by doing proper allocation for this cpumask.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c