mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
Revert "crypto: run initcalls for generic implementations earlier"
This reverts commit c4741b2305.
Crypto API self-tests no longer run at registration time and now
occur either at late_initcall or upon the first use.
Therefore the premise of the above commit no longer exists. Revert
it and subsequent additions of subsys_initcall and arch_initcall.
Note that lib/crypto calls will stay at subsys_initcall (or rather
downgraded from arch_initcall) because they may need to occur
before Crypto API registration.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -570,7 +570,7 @@ static void __exit hctr2_module_exit(void)
|
||||
ARRAY_SIZE(hctr2_tmpls));
|
||||
}
|
||||
|
||||
subsys_initcall(hctr2_module_init);
|
||||
module_init(hctr2_module_init);
|
||||
module_exit(hctr2_module_exit);
|
||||
|
||||
MODULE_DESCRIPTION("HCTR2 length-preserving encryption mode");
|
||||
|
||||
Reference in New Issue
Block a user