diff options
author | Orczykowski, Juergen <juergen.orczykowski@siemens.com> | 2007-05-08 03:37:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:26 -0400 |
commit | 71c6efd9930bd87249d007120425341d1293303d (patch) | |
tree | 43cdb8c00526f16ca5e2cbb99012277fbb1fe116 /Documentation/ioctl/ioctl-decoding.txt | |
parent | 33a9f640a2511155517d316e696654b84dd48654 (diff) |
intelfb: fix ring space calculation
If there is less than RING_MIN_FREE available in the ring buffer,
dinfo->ring_space is set to a big value forcing wait_ring to return.
Fix by making ring space = 0 if ring space < RING_MIN_FREE.
Signed-off-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/ioctl/ioctl-decoding.txt')
0 files changed, 0 insertions, 0 deletions