Browse files

crypto: cryptd - Use subsys_initcall to prevent races with aesni

As cryptd is depeneded on by other algorithms such as aesni-intel,
it needs to be registered before them.  When everything is built
as modules, this occurs naturally.  However, for this to work when
they are built-in, we need to use subsys_initcall in cryptd.

Tested-by: Josh Boyer <>
Signed-off-by: Herbert Xu <>
  • Loading branch information...
1 parent 4619b6b commit b2bac6acf86d05d8af0499f37d91ecac15722803 @herbertx herbertx committed Aug 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 crypto/cryptd.c
@@ -945,7 +945,7 @@ static void __exit cryptd_exit(void)

0 comments on commit b2bac6a

Please sign in to comment.