The patch titled select: remove unused MAX_SELECT_SECONDS has been added to the -mm tree. Its filename is select-remove-unused-max_select_seconds.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: select: remove unused MAX_SELECT_SECONDS From: Namhyung Kim <namhyung@xxxxxxxxx> Remove the leftover from the commit 8ff3e8e85fa6 ("select: switch select() and poll() over to hrtimers"). Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx> Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/compat.c | 3 --- fs/select.c | 3 --- 2 files changed, 6 deletions(-) diff -puN fs/compat.c~select-remove-unused-max_select_seconds fs/compat.c --- a/fs/compat.c~select-remove-unused-max_select_seconds +++ a/fs/compat.c @@ -1695,9 +1695,6 @@ int compat_set_fd_set(unsigned long nr, * Update: ERESTARTSYS breaks at least the xview clock binary, so * I'm trying ERESTARTNOHAND which restart only when you want to. */ -#define MAX_SELECT_SECONDS \ - ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1) - int compat_core_sys_select(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct timespec *end_time) diff -puN fs/select.c~select-remove-unused-max_select_seconds fs/select.c --- a/fs/select.c~select-remove-unused-max_select_seconds +++ a/fs/select.c @@ -517,9 +517,6 @@ int do_select(int n, fd_set_bits *fds, s * Update: ERESTARTSYS breaks at least the xview clock binary, so * I'm trying ERESTARTNOHAND which restart only when you want to. */ -#define MAX_SELECT_SECONDS \ - ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1) - int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timespec *end_time) { _ Patches currently in -mm which might be from namhyung@xxxxxxxxx are linux-next.patch vfs-remove-a-warning-on-open_fmode.patch vfs-add-__fmode_exec.patch select-remove-unused-max_select_seconds.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html