diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-09-27 09:23:07 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 16:24:03 +0400 |
commit | 22e5b20be72e2e166c3ba915b01a59a8eb2dc71f (patch) | |
tree | 52463cf77b8d2290d233754db4c14d102ab994db /crypto/algapi.c | |
parent | 89b596ba22d79dd5616616a9975192e1c2bea0fe (diff) | |
download | linux-22e5b20be72e2e166c3ba915b01a59a8eb2dc71f.tar.xz |
crypto: Export crypto_remove_final
The upcomming crypto usrerspace configuration api needs
to remove the spawns on top on an algorithm, so export
crypto_remove_final.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r-- | crypto/algapi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index 1b54d7416545..54dd4e33b5d6 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -22,8 +22,6 @@ #include "internal.h" -static void crypto_remove_final(struct list_head *list); - static LIST_HEAD(crypto_template_list); void crypto_larval_error(const char *name, u32 type, u32 mask) @@ -321,7 +319,7 @@ unlock: } EXPORT_SYMBOL_GPL(crypto_alg_tested); -static void crypto_remove_final(struct list_head *list) +void crypto_remove_final(struct list_head *list) { struct crypto_alg *alg; struct crypto_alg *n; @@ -331,6 +329,7 @@ static void crypto_remove_final(struct list_head *list) crypto_alg_put(alg); } } +EXPORT_SYMBOL_GPL(crypto_remove_final); static void crypto_wait_for_test(struct crypto_larval *larval) { |