]> git.baikalelectronics.ru Git - kernel.git/commit
dma-debug: disable/enable irqs only once in device_dma_allocations
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 8 Jun 2009 13:46:19 +0000 (15:46 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 8 Jun 2009 13:46:19 +0000 (15:46 +0200)
commit3751d77aa9cc4672bf0f9b7a8c085955155e3c3a
treec43bebd9c640f1764e94d7a97f40d3c21c2bd4a4
parentc65465b7bf15c6d025e5261a32528bb31e16ad5f
dma-debug: disable/enable irqs only once in device_dma_allocations

There is no need to disable/enable irqs on each loop iteration. Just
disable irqs for the whole time the loop runs.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
lib/dma-debug.c