diff options
author | Peter Hurley <[email protected]> | 2014-02-11 11:49:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-02-13 09:57:33 -0800 |
commit | a5934804a834f525c9e6289935ceef65b952b101 (patch) | |
tree | 6fdf15d799b171f51e602cdfb5bcf277aa04338f /tools/perf/scripts/python/check-perf-trace.py | |
parent | a64c1a1c755674399da3689499b3f64c2a538120 (diff) |
n_tty: Fix poll() when TIME_CHAR and MIN_CHAR == 0
Commit eafbe67f84761d787802e5113d895a316b6292fe,
n_tty: Refactor input_available_p() by call site
broke poll() when TIME_CHAR(tty) and MIN_CHAR(tty) are both 0.
When TIME_CHAR and MIN_CHAR are both 0, input is available if the
read_cnt is 1 (not 0).
Reported-by: Eric Dumazet <[email protected]>
Tested-by: Eric Dumazet <[email protected]>
Reported-by: Stephane Eranian <[email protected]>
Tested-by: David Ahern <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions