diff options
Diffstat (limited to 'fs/select.c')
| -rw-r--r-- | fs/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/select.c b/fs/select.c index 467bb1cb3ea5..f684c750e08a 100644 --- a/fs/select.c +++ b/fs/select.c | |||
| @@ -971,7 +971,7 @@ SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, | |||
| 971 | if (ret == -EINTR) { | 971 | if (ret == -EINTR) { |
| 972 | struct restart_block *restart_block; | 972 | struct restart_block *restart_block; |
| 973 | 973 | ||
| 974 | restart_block = ¤t_thread_info()->restart_block; | 974 | restart_block = ¤t->restart_block; |
| 975 | restart_block->fn = do_restart_poll; | 975 | restart_block->fn = do_restart_poll; |
| 976 | restart_block->poll.ufds = ufds; | 976 | restart_block->poll.ufds = ufds; |
| 977 | restart_block->poll.nfds = nfds; | 977 | restart_block->poll.nfds = nfds; |
