fork_init: update max_threads comment
[cascardo/linux.git] / crypto / ablk_helper.c
index ffe7278..e1fcf53 100644 (file)
@@ -124,7 +124,8 @@ int ablk_init_common(struct crypto_tfm *tfm, const char *drv_name)
        struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm);
        struct cryptd_ablkcipher *cryptd_tfm;
 
-       cryptd_tfm = cryptd_alloc_ablkcipher(drv_name, 0, 0);
+       cryptd_tfm = cryptd_alloc_ablkcipher(drv_name, CRYPTO_ALG_INTERNAL,
+                                            CRYPTO_ALG_INTERNAL);
        if (IS_ERR(cryptd_tfm))
                return PTR_ERR(cryptd_tfm);