summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-04-29 09:59:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:02 +0200
commit7d4f9f094b0a01ba199f97cd4a5f5609391a04f9 (patch)
treea7eaaafa99a7e8b46a80f41afda61221902d1004 /init
parentMisc: phantom, add compat ioctl (diff)
downloadlinux-7d4f9f094b0a01ba199f97cd4a5f5609391a04f9.tar.xz
linux-7d4f9f094b0a01ba199f97cd4a5f5609391a04f9.zip
Misc, phantom, fix poll
Return ERR even if there are pending data, but hw is not running. Do not decrement count in poll, do it in ioctl, where data are actually read. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions