aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHongbo Zhang <[email protected]>2014-05-21 16:03:01 +0800
committerVinod Koul <[email protected]>2014-07-14 21:32:18 +0530
commit2baff5700b0832632f05c2ae93362fe3320cc735 (patch)
treecf30808cd57a5d18e33fce720a9c3574f74a44db /tools/perf/scripts/python
parent1795cd9b3a91d4b5473c97f491d63892442212ab (diff)
dmaengine: Freescale: use spin_lock_bh instead of spin_lock_irqsave
The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, it is unnecessary to use irqsave. This patch changes all instances of spin_lock_irqsave() to spin_lock_bh(). All manipulation of protected fields is done using tasklet context or weaker, which makes spin_lock_bh() the correct choice. Signed-off-by: Hongbo Zhang <[email protected]> Signed-off-by: Qiang Liu <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions