Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165821
b: refs/heads/master
c: 72be12f
h: refs/heads/master
i:
  165819: d7c173f
v: v3
  • Loading branch information
Dan Williams committed Aug 30, 2009
1 parent 82100d2 commit 6cfaa3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 507fbec4cff442ebce6706db34603bfb9cc3b5a9
refs/heads/master: 72be12f0c39df46832403cbfd82e132a883f5ddc
7 changes: 6 additions & 1 deletion trunk/drivers/dma/iop-adma.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,12 @@ static void iop_adma_tasklet(unsigned long data)
{
struct iop_adma_chan *iop_chan = (struct iop_adma_chan *) data;

spin_lock(&iop_chan->lock);
/* lockdep will flag depedency submissions as potentially
* recursive locking, this is not the case as a dependency
* submission will never recurse a channels submit routine.
* There are checks in async_tx.c to prevent this.
*/
spin_lock_nested(&iop_chan->lock, SINGLE_DEPTH_NESTING);
__iop_adma_slot_cleanup(iop_chan);
spin_unlock(&iop_chan->lock);
}
Expand Down

0 comments on commit 6cfaa3e

Please sign in to comment.