Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221907
b: refs/heads/master
c: 47c344d
h: refs/heads/master
i:
  221905: 3a7925b
  221903: df528ea
v: v3
  • Loading branch information
Nicolas Pitre authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent a54413e commit 58e3754
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37db8f91b7d9b064bc78acd1c615a410322e275d
refs/heads/master: 47c344d0bd290e04c57eefdb0a721726e53bb57e
6 changes: 3 additions & 3 deletions trunk/drivers/tty/vt/vc_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,12 @@ static unsigned int
vcs_poll(struct file *file, poll_table *wait)
{
struct vcs_poll_data *poll = vcs_poll_data_get(file);
int ret = 0;
int ret = DEFAULT_POLLMASK|POLLERR|POLLPRI;

if (poll) {
poll_wait(file, &poll->waitq, wait);
if (!poll->seen_last_update)
ret = POLLIN | POLLRDNORM;
if (poll->seen_last_update)
ret = DEFAULT_POLLMASK;
}
return ret;
}
Expand Down

0 comments on commit 58e3754

Please sign in to comment.