]> 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>
Fri, 7 Jan 2011 21:58:48 +0000 (13:58 -0800)
commitbc690d348f5417934331c7e215c63aeb6388eaf6
treee4b5001c7d66ba1cc8bcc65570ce9bc3d77b6bba
parentb6346defbc8afe642fb76736b7f59bb1fc6cc0a4
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