diff options
author | Jeremy Kerr <[email protected]> | 2008-10-15 13:20:42 +1100 |
---|---|---|
committer | Jeremy Kerr <[email protected]> | 2008-10-21 11:13:07 +1100 |
commit | e869446bb6db209e6092f7cba6cdfc2a5e637177 (patch) | |
tree | be2506f59efce3c5cd6d5a847ae40ea7657c2bb5 /net/lapb/lapb_in.c | |
parent | baf399273f2ea38e2fcbd4d0b6cc7ba7f7db43eb (diff) |
powerpc/spufs: sputrace: Don't block until the read buffer is full
Currently, read() on the sputrace buffer will only return data when
the user buffer is exhausted. This may mean that we never see the
end of the event log, unless we read() with exactly the right-sized
buffer.
This change makes sputrace_read not block if we have data ready to
return.
Signed-off-by: Jeremy Kerr <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions