diff options
author | Uri Simchoni <uri@jdland.co.il> | 2010-04-08 12:25:37 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-04-13 04:50:46 -0400 |
commit | 0328ac267564089d9cedfb568f936d30a6debd21 (patch) | |
tree | 5b09ffe2ab987396d724a214624b84b51d506edd /drivers/crypto | |
parent | 975d260355fca4734b545a0e3366672af0356905 (diff) |
crypto: mv_cesa - Invoke the user callback from a softirq context
Invoke the user callback from a softirq context
Signed-off-by: Uri Simchoni <uri@jdland.co.il>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index b21ef635f352..3e60ba909434 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -275,7 +275,9 @@ static void dequeue_complete_req(void) | |||
275 | sg_miter_stop(&cpg->p.dst_sg_it); | 275 | sg_miter_stop(&cpg->p.dst_sg_it); |
276 | mv_crypto_algo_completion(); | 276 | mv_crypto_algo_completion(); |
277 | cpg->eng_st = ENGINE_IDLE; | 277 | cpg->eng_st = ENGINE_IDLE; |
278 | local_bh_disable(); | ||
278 | req->base.complete(&req->base, 0); | 279 | req->base.complete(&req->base, 0); |
280 | local_bh_enable(); | ||
279 | } | 281 | } |
280 | } | 282 | } |
281 | 283 | ||