aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorYury Georgievskiy <[email protected]>2010-07-20 15:26:50 -0700
committerGreg Kroah-Hartman <[email protected]>2010-08-10 13:47:45 -0700
commit0ac8382e9cfdd723445692fc97aaa4643929750d (patch)
treee42c65488ea8d839c39441dce939d21ba6d60ae6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent1b6331848b69d1ed165a6bdc75c4046d68767563 (diff)
serial: mcf: don't take spinlocks in already protected functions
Don't take the port spinlock in uart functions where the serial core already takes care of locking/unlocking them. The code would actually lock up on architectures where spinlocks are implemented. Also protect calling mcf_rx_chars/mcf_tx_chars in the interrupt handler by the port spinlock and use IRQ_RETVAL to return from isr. [[email protected]: make irq-handler return value more explicit] Signed-off-by: Yury Georgievskiy <[email protected]> Cc: Alan Cox <[email protected]> Acked-by: Greg Ungerer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions