]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mv_xor: fix race in tasklet function
authorSaeed Bishara <saeed@marvell.com>
Tue, 21 Dec 2010 14:53:39 +0000 (16:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:32 +0000 (12:44 -0700)
commit32dc3265772c1d7930a4f5e4e679c23db8a14afa
tree3c09716474c983424f5ad5cf062b24088e105feb
parent0dd40482f3d6bf04eb477c14d9e9443a3d59f1e9
mv_xor: fix race in tasklet function

commit 8333f65ef094e47020cd01452b4637e7daf5a77f upstream.

use mv_xor_slot_cleanup() instead of __mv_xor_slot_cleanup() as the former function
aquires the spin lock that needed to protect the drivers data.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/dma/mv_xor.c