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>
Fri, 7 Jan 2011 22:43:17 +0000 (14:43 -0800)
commit9e180aacc3563130dc34b725a6e595d46c1906f9
treed8dc48611f9a9da5791067e7ed1de42dbb74d2d2
parent815fc814077615de661c902b0dab82c3609373f1
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