vcs: make proper usage of the poll flags
authorNicolas Pitre <nicolas.pitre@canonical.com>
Wed, 10 Nov 2010 06:33:12 +0000 (01:33 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 18:51:35 +0000 (10:51 -0800)
commit47c344d0bd290e04c57eefdb0a721726e53bb57e
tree1eb43fe592f19b9269ae3cacbe28380b31b6d5da
parent37db8f91b7d9b064bc78acd1c615a410322e275d
vcs: make proper usage of the poll flags

Kay Sievers pointed out that usage of POLLIN is well defined by POSIX,
and the current usage here doesn't follow that definition.  So let's
duplicate the same semantics as implemented by sysfs_poll() instead.

Signed-off-by: Nicolas Pitre <nicolas.pitre@canonical.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/vt/vc_screen.c