diff options
| author | Peter Zijlstra <[email protected]> | 2014-10-29 16:17:12 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-11-04 07:17:47 +0100 |
| commit | eedf7e47daa0b8530246a8c9107c007fbf8231bf (patch) | |
| tree | e945f8690e964eb998089519a8aff192e090f494 /tools/perf/scripts/python/bin | |
| parent | 6b55fc63f46ba299f3d84013e9232be4bd259eab (diff) | |
rfcomm, sched/wait: Fix broken wait construct
rfcomm_run() is a tad broken in that is has a nested wait loop. One
cannot rely on p->state for the outer wait because the inner wait will
overwrite it.
Fix this using the new wait_woken() facility.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Peter Hurley <[email protected]>
Cc: Alexander Holler <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Gustavo Padovan <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Johan Hedberg <[email protected]>
Cc: Libor Pechacek <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Marcel Holtmann <[email protected]>
Cc: Seung-Woo Kim <[email protected]>
Cc: Vignesh Raman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions