diff options
| author | Russell King - ARM Linux <[email protected]> | 2011-01-03 22:31:24 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2011-01-04 19:16:10 -0800 |
| commit | bf072af461c166964fb110cfcafccd752fbb4c64 (patch) | |
| tree | a30b526ad74c2885ae9f8d9f10f412f6d7ff0f59 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 91aa5fadb831e7b6ea473a526a6b49c6dc4819ce (diff) | |
ARM: PL08x: fix locking in tasklet
Tasklets are run from an interruptible context. The slave DMA functions
can be called from within IRQ handlers. Taking the spinlock without
disabling interrupts allows an interrupt handler to run, which may try
to take the spinlock again, resulting in deadlock. Fix this by using
the irqsave spinlocks.
Signed-off-by: Russell King <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions