[rt] apply fix for crypto stuff by Milan Broz
svn path=/dists/trunk/linux/; revision=19473
This commit is contained in:
parent
d741209691
commit
e8a8ac7be3
|
@ -13,6 +13,7 @@ Make the core code built-in for now and enfore early init.
|
|||
FIXME: Create a static initializer for this.
|
||||
|
||||
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
||||
[ukl: squash in fix by Milan Broz removing a srcu_init_notifier_head]
|
||||
---
|
||||
crypto/Kconfig | 2 +-
|
||||
crypto/api.c | 7 +++++++
|
||||
|
@ -49,3 +50,15 @@ Index: linux-stable/crypto/api.c
|
|||
static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg)
|
||||
{
|
||||
atomic_inc(&alg->cra_refcnt);
|
||||
Index: linux-stable/crypto/algapi.c
|
||||
===================================================================
|
||||
--- linux-stable.orig/crypto/algapi.c
|
||||
+++ linux-stable/crypto/algapi.c
|
||||
@@ -956,7 +956,6 @@ EXPORT_SYMBOL_GPL(crypto_xor);
|
||||
|
||||
static int __init crypto_algapi_init(void)
|
||||
{
|
||||
- srcu_init_notifier_head(&crypto_chain);
|
||||
crypto_init_proc();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue