projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: cryptd - Use subsys_initcall to prevent races with aesni
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
cryptd.c
diff --git
a/crypto/cryptd.c
b/crypto/cryptd.c
index e46d21ae26bc0538003cf72b42fe1a8e90eb51cd..671d4d6d14df106b3b0278364340ef3290d7a185 100644
(file)
--- a/
crypto/cryptd.c
+++ b/
crypto/cryptd.c
@@
-945,7
+945,7
@@
static void __exit cryptd_exit(void)
crypto_unregister_template(&cryptd_tmpl);
}
-
module_init
(cryptd_init);
+
subsys_initcall
(cryptd_init);
module_exit(cryptd_exit);
MODULE_LICENSE("GPL");