projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b394b2
)
dmaengine: mv_xor: move spin_lock_bh to spin_lock in tasklet
author
Barry Song
<21cnbao@gmail.com>
Fri, 17 Aug 2018 13:02:02 +0000
(06:02 -0700)
committer
Vinod Koul
<vkoul@kernel.org>
Mon, 3 Sep 2018 10:53:31 +0000
(16:23 +0530)
as you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mv_xor.c
patch
|
blob
|
history
diff --git
a/drivers/dma/mv_xor.c
b/drivers/dma/mv_xor.c
index 969534c1a6c63339b1b5c48ae3568d275f3bb518..7f595355fb7936e3b7ef2090987ac08148683426 100644
(file)
--- a/
drivers/dma/mv_xor.c
+++ b/
drivers/dma/mv_xor.c
@@
-348,9
+348,9
@@
static void mv_xor_tasklet(unsigned long data)
{
struct mv_xor_chan *chan = (struct mv_xor_chan *) data;
- spin_lock
_bh
(&chan->lock);
+ spin_lock(&chan->lock);
mv_chan_slot_cleanup(chan);
- spin_unlock
_bh
(&chan->lock);
+ spin_unlock(&chan->lock);
}
static struct mv_xor_desc_slot *