From 935cedf5140c300859756f2e27e14ed3ec66d189 Mon Sep 17 00:00:00 2001 From: Huang Ying Date: Thu, 19 Feb 2009 14:44:02 +0800 Subject: [PATCH] --- yaml --- r: 132700 b: refs/heads/master c: 0a2e821d627ad5ced23cf31137625b81cc205e0f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/crypto/Kconfig | 1 + trunk/crypto/chainiv.c | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dd9e235fb8da..b6190ac14922 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 254eff771441f4ee7aa9cf770a6e4820492c9dab +refs/heads/master: 0a2e821d627ad5ced23cf31137625b81cc205e0f diff --git a/trunk/crypto/Kconfig b/trunk/crypto/Kconfig index 24c31efde882..4a3e6b225189 100644 --- a/trunk/crypto/Kconfig +++ b/trunk/crypto/Kconfig @@ -56,6 +56,7 @@ config CRYPTO_BLKCIPHER2 tristate select CRYPTO_ALGAPI2 select CRYPTO_RNG2 + select CRYPTO_WORKQUEUE config CRYPTO_HASH tristate diff --git a/trunk/crypto/chainiv.c b/trunk/crypto/chainiv.c index 7c37a497b860..ba200b07449d 100644 --- a/trunk/crypto/chainiv.c +++ b/trunk/crypto/chainiv.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include @@ -133,7 +134,7 @@ static int async_chainiv_schedule_work(struct async_chainiv_ctx *ctx) goto out; } - queued = schedule_work(&ctx->postponed); + queued = queue_work(kcrypto_wq, &ctx->postponed); BUG_ON(!queued); out: