]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-bsp/linux/linux-omap/linus/0048-mv_xor-fix-race-in-tasklet-function.patch
netbase: automatically bring up usb0 on BeagleBoard xM
[glsdk/meta-ti-glsdk.git] / recipes-bsp / linux / linux-omap / linus / 0048-mv_xor-fix-race-in-tasklet-function.patch
1 From b4c914578637d1d92b92842c50b02a98f2a7357d Mon Sep 17 00:00:00 2001
2 From: Saeed Bishara <saeed@marvell.com>
3 Date: Tue, 21 Dec 2010 16:53:39 +0200
4 Subject: [PATCH 48/65] mv_xor: fix race in tasklet function
6 use mv_xor_slot_cleanup() instead of __mv_xor_slot_cleanup() as the former function
7 aquires the spin lock that needed to protect the drivers data.
9 Cc: <stable@kernel.org>
10 Signed-off-by: Saeed Bishara <saeed@marvell.com>
11 Signed-off-by: Dan Williams <dan.j.williams@intel.com>
12 ---
13  drivers/dma/mv_xor.c |    2 +-
14  1 files changed, 1 insertions(+), 1 deletions(-)
16 diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
17 index 411d5bf..a25f5f6 100644
18 --- a/drivers/dma/mv_xor.c
19 +++ b/drivers/dma/mv_xor.c
20 @@ -449,7 +449,7 @@ mv_xor_slot_cleanup(struct mv_xor_chan *mv_chan)
21  static void mv_xor_tasklet(unsigned long data)
22  {
23         struct mv_xor_chan *chan = (struct mv_xor_chan *) data;
24 -       __mv_xor_slot_cleanup(chan);
25 +       mv_xor_slot_cleanup(chan);
26  }
27  
28  static struct mv_xor_desc_slot *
29 -- 
30 1.6.6.1