Skip to content

Commit dccd558

Browse files
committed
crypto: aesni - Move back to module_init
This patch reverts commit 0fbafd0 ("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>
1 parent 0594ad6 commit dccd558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/crypto/aesni-intel_glue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ static void __exit aesni_exit(void)
17471747
unregister_avx_algs();
17481748
}
17491749

1750-
late_initcall(aesni_init);
1750+
module_init(aesni_init);
17511751
module_exit(aesni_exit);
17521752

17531753
MODULE_DESCRIPTION("AES cipher and modes, optimized with AES-NI or VAES instructions");

0 commit comments

Comments
 (0)