From: Uri Simchoni Date: Thu, 8 Apr 2010 16:25:37 +0000 (+0300) Subject: crypto: mv_cesa - Invoke the user callback from a softirq context X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0328ac267564089d9cedfb568f936d30a6debd21;p=linux-beck.git crypto: mv_cesa - Invoke the user callback from a softirq context Invoke the user callback from a softirq context Signed-off-by: Uri Simchoni Signed-off-by: Herbert Xu --- 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) sg_miter_stop(&cpg->p.dst_sg_it); mv_crypto_algo_completion(); cpg->eng_st = ENGINE_IDLE; + local_bh_disable(); req->base.complete(&req->base, 0); + local_bh_enable(); } }