diff options
author | Peter Zijlstra <[email protected]> | 2011-12-08 14:34:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-12-09 07:50:28 -0800 |
commit | 09dc3cf93f7d16fdd37a0ad8486faebb5e2769ec (patch) | |
tree | 4db1b0103db218d0d0aa26a26232c3674dd18622 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c193c82f054195aa352ccbef91afc28446e5a30e (diff) |
printk: avoid double lock acquire
Commit 4f2a8d3cf5e ("printk: Fix console_sem vs logbuf_lock unlock race")
introduced another silly bug where we would want to acquire an already
held lock. Avoid this.
Reported-by: Andrea Arcangeli <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions