aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJörn Engel <[email protected]>2012-04-12 17:33:25 -0400
committerJames Bottomley <[email protected]>2012-05-17 10:08:53 +0100
commit3f0c6aba0b65a68013c1e0db1b015f02e6ec24be (patch)
tree9af2cdcfa608b794d783674f1e68129cf6d2d31d /tools/perf/util/scripting-engines/trace-event-python.c
parent794c10fa0fa4d1781c5651c31e3d4d0b71629128 (diff)
[SCSI] sg: use wait_event_interruptible()
Afaics the use of __wait_event_interruptible() as opposed to wait_event_interruptible() is purely historic. So let's follow the rest of the kernel and check the condition before prepare_to_wait() - and also make the code a bit nicer. Signed-off-by: Joern Engel <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions