From fa0d7d124bfb9fc51ba800a6275ac9ab3305fea5 Mon Sep 17 00:00:00 2001 From: Steffen Klassert Date: Tue, 27 Sep 2011 07:23:07 +0200 Subject: [PATCH] --- yaml --- r: 272291 b: refs/heads/master c: 22e5b20be72e2e166c3ba915b01a59a8eb2dc71f h: refs/heads/master i: 272289: 45d706dfcb1033527c5324ae7d953def79992524 272287: 620f0480113fec1bfd024928722ebd7bd4d74be2 v: v3 --- [refs] | 2 +- trunk/crypto/algapi.c | 5 ++--- trunk/crypto/internal.h | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 257d742dbfd5..7a6bde9466e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89b596ba22d79dd5616616a9975192e1c2bea0fe +refs/heads/master: 22e5b20be72e2e166c3ba915b01a59a8eb2dc71f diff --git a/trunk/crypto/algapi.c b/trunk/crypto/algapi.c index 1b54d7416545..54dd4e33b5d6 100644 --- a/trunk/crypto/algapi.c +++ b/trunk/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 @@ void crypto_alg_tested(const char *name, int err) } 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) { diff --git a/trunk/crypto/internal.h b/trunk/crypto/internal.h index b6dcb31c1120..b865ca1a8613 100644 --- a/trunk/crypto/internal.h +++ b/trunk/crypto/internal.h @@ -88,6 +88,7 @@ void crypto_alg_tested(const char *name, int err); void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, struct crypto_alg *nalg); +void crypto_remove_final(struct list_head *list); void crypto_shoot_alg(struct crypto_alg *alg); struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, u32 mask);