diff options
| -rw-r--r-- | fs/compat.c | 3 | ||||
| -rw-r--r-- | fs/select.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/compat.c b/fs/compat.c index c6d31a3bab88..72fe6cda9108 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
| @@ -1671,9 +1671,6 @@ int compat_set_fd_set(unsigned long nr, compat_ulong_t __user *ufdset, | |||
| 1671 | * Update: ERESTARTSYS breaks at least the xview clock binary, so | 1671 | * Update: ERESTARTSYS breaks at least the xview clock binary, so |
| 1672 | * I'm trying ERESTARTNOHAND which restart only when you want to. | 1672 | * I'm trying ERESTARTNOHAND which restart only when you want to. |
| 1673 | */ | 1673 | */ |
| 1674 | #define MAX_SELECT_SECONDS \ | ||
| 1675 | ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1) | ||
| 1676 | |||
| 1677 | int compat_core_sys_select(int n, compat_ulong_t __user *inp, | 1674 | int compat_core_sys_select(int n, compat_ulong_t __user *inp, |
| 1678 | compat_ulong_t __user *outp, compat_ulong_t __user *exp, | 1675 | compat_ulong_t __user *outp, compat_ulong_t __user *exp, |
| 1679 | struct timespec *end_time) | 1676 | struct timespec *end_time) |
diff --git a/fs/select.c b/fs/select.c index e56560d2b08a..d33418fdc858 100644 --- a/fs/select.c +++ b/fs/select.c | |||
| @@ -517,9 +517,6 @@ int do_select(int n, fd_set_bits *fds, struct timespec *end_time) | |||
| 517 | * Update: ERESTARTSYS breaks at least the xview clock binary, so | 517 | * Update: ERESTARTSYS breaks at least the xview clock binary, so |
| 518 | * I'm trying ERESTARTNOHAND which restart only when you want to. | 518 | * I'm trying ERESTARTNOHAND which restart only when you want to. |
| 519 | */ | 519 | */ |
| 520 | #define MAX_SELECT_SECONDS \ | ||
| 521 | ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1) | ||
| 522 | |||
| 523 | int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, | 520 | int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, |
| 524 | fd_set __user *exp, struct timespec *end_time) | 521 | fd_set __user *exp, struct timespec *end_time) |
| 525 | { | 522 | { |
