summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2011-09-27 07:23:07 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-12-21 02:04:33 +0100
commitd8ddddb9e25e80b8f5341ad6e452b97ed35eb590 (patch)
treeb7bf7b66cbd1fa7448e5f942a03eeef906979db8 /crypto/algapi.c
parent9c3dac3965c611945c934b5b589e3720b33bd85f (diff)
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> (cherry picked from commit 22e5b20be72e2e166c3ba915b01a59a8eb2dc71f) Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r--crypto/algapi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index cf4c7b34c1ba..d7b5c9fb5eab 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)
{