diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-27 01:14:28 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-31 07:53:04 -0400 |
commit | e6cc11707661770ca2bd4db4b0256d28f48e7541 (patch) | |
tree | 885f2ea00e90ac9e379d54adf8e5ad0fbb9d9892 /crypto/pcrypt.c | |
parent | cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34 (diff) |
padata: Rename padata_alloc functions
We rename padata_alloc to padata_alloc_possible because this
function allocates a padata_instance and uses the cpu_possible
mask for parallel and serial workers. Also we rename __padata_alloc
to padata_alloc to avoid to export underlined functions. Underlined
functions are considered to be private to padata. Users are updated
accordingly.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcrypt.c')
-rw-r--r-- | crypto/pcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c index 794c172b99f7..55460839624e 100644 --- a/crypto/pcrypt.c +++ b/crypto/pcrypt.c | |||
@@ -457,7 +457,7 @@ static int __pcrypt_init_instance(struct pcrypt_instance *pcrypt, | |||
457 | if (!pcrypt->wq) | 457 | if (!pcrypt->wq) |
458 | goto err; | 458 | goto err; |
459 | 459 | ||
460 | pcrypt->pinst = padata_alloc(pcrypt->wq); | 460 | pcrypt->pinst = padata_alloc_possible(pcrypt->wq); |
461 | if (!pcrypt->pinst) | 461 | if (!pcrypt->pinst) |
462 | goto err_destroy_workqueue; | 462 | goto err_destroy_workqueue; |
463 | 463 | ||