mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
crypto: aesni - Move back to module_init
This patch reverts commit 0fbafd06bd
("crypto: aesni - fix failing setkey for rfc4106-gcm-aesni") by
moving the aesni init function back to module_init from late_initcall.
The original patch was needed because tests were synchronous. This
is no longer the case so there is no need to postpone the registration.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
0594ad6184
commit
dccd55892b
@ -1747,7 +1747,7 @@ static void __exit aesni_exit(void)
|
|||||||
unregister_avx_algs();
|
unregister_avx_algs();
|
||||||
}
|
}
|
||||||
|
|
||||||
late_initcall(aesni_init);
|
module_init(aesni_init);
|
||||||
module_exit(aesni_exit);
|
module_exit(aesni_exit);
|
||||||
|
|
||||||
MODULE_DESCRIPTION("AES cipher and modes, optimized with AES-NI or VAES instructions");
|
MODULE_DESCRIPTION("AES cipher and modes, optimized with AES-NI or VAES instructions");
|
||||||
|
Loading…
Reference in New Issue
Block a user