]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - crypto/internal.h
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / crypto / internal.h
index 7eefcdb00227740e39a22d61515d016b4f36caa0..0ecc7f5a2f40091747532d13bf156461e662195d 100644 (file)
@@ -47,7 +47,7 @@ struct crypto_larval {
 
 extern struct list_head crypto_alg_list;
 extern struct rw_semaphore crypto_alg_sem;
-extern struct blocking_notifier_head crypto_chain;
+extern struct srcu_notifier_head crypto_chain;
 
 #ifdef CONFIG_PROC_FS
 void __init crypto_init_proc(void);
@@ -146,7 +146,7 @@ static inline int crypto_is_moribund(struct crypto_alg *alg)
 
 static inline void crypto_notify(unsigned long val, void *v)
 {
-       blocking_notifier_call_chain(&crypto_chain, val, v);
+       srcu_notifier_call_chain(&crypto_chain, val, v);
 }
 
 #endif /* _CRYPTO_INTERNAL_H */