padata: Initialize the padata queues only for the used cpus
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 29 Apr 2010 12:41:36 +0000 (14:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 3 May 2010 03:32:11 +0000 (11:32 +0800)
commit7b389b2cc539dc2dc60b049240942be54958c93a
tree7ab93b0052445c147d88c4479d7b0994769c671c
parent7d0d2d385ca7cc511f7d1c64735a1b4aaefd9a1b
padata: Initialize the padata queues only for the used cpus

padata_alloc_pd set up queues for all possible cpus.
This patch changes this to set up the queues just for
the used cpus.

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