diff options
author | Joel Fernandes <joelf@ti.com> | 2014-04-17 07:58:33 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-04-23 07:51:17 +0200 |
commit | 406efb1a745c1dc512dc9c3c859e302e7b7f907e (patch) | |
tree | e209379f0e4ae06f2332085c2d59a97201e7bfcd /drivers/infiniband | |
parent | dmaengine: edma: Add DMA memcpy support (diff) | |
download | linux-406efb1a745c1dc512dc9c3c859e302e7b7f907e.tar.xz linux-406efb1a745c1dc512dc9c3c859e302e7b7f907e.zip |
dmaengine: edma: No need save/restore interrupt flags during spin_lock in IRQ
The vchan lock in edma_callback is acquired in hard interrupt context. As
interrupts are already disabled, there's no point in save/restoring interrupt
mask bit or cpsr flags.
Get rid of flags local variable and use spin_lock instead of spin_lock_irqsave.
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions