aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2010-05-25 16:59:55 +0200
committerGreg Kroah-Hartman <[email protected]>2010-06-04 13:37:17 -0700
commitd8d721f4c005f9a69bd1b5d5c6ba99b7e1d464de (patch)
tree4ff679f2f17605139bdf209179519a03ff911566 /tools/perf/util/scripting-engines/trace-event-python.c
parent328be395a396b1333b56e04571365dc614c96e46 (diff)
altera_uart: Don't take spinlock 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 (not the case on nios2 where this driver is primarily used for now, thus this bug didn't trigger). Also protect calling altera_uart_rx_chars/altera_uart_tx_chars in the interrupt handler by the port spinlock. Thanks to Ian Abbott for pointing these issues out. Cc: Ian Abbott <[email protected]> Cc: Thomas Chou <[email protected]> Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions