aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/compat.c')
-rw-r--r--fs/compat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/compat.c b/fs/compat.c
index 3004d2bad13f..6161255fac45 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -1542,7 +1542,6 @@ asmlinkage long compat_sys_old_select(struct compat_sel_arg_struct __user *arg)
1542 compat_ptr(a.exp), compat_ptr(a.tvp)); 1542 compat_ptr(a.exp), compat_ptr(a.tvp));
1543} 1543}
1544 1544
1545#ifdef HAVE_SET_RESTORE_SIGMASK
1546static long do_compat_pselect(int n, compat_ulong_t __user *inp, 1545static long do_compat_pselect(int n, compat_ulong_t __user *inp,
1547 compat_ulong_t __user *outp, compat_ulong_t __user *exp, 1546 compat_ulong_t __user *outp, compat_ulong_t __user *exp,
1548 struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask, 1547 struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask,
@@ -1665,11 +1664,9 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
1665 1664
1666 return ret; 1665 return ret;
1667} 1666}
1668#endif /* HAVE_SET_RESTORE_SIGMASK */
1669 1667
1670#ifdef CONFIG_EPOLL 1668#ifdef CONFIG_EPOLL
1671 1669
1672#ifdef HAVE_SET_RESTORE_SIGMASK
1673asmlinkage long compat_sys_epoll_pwait(int epfd, 1670asmlinkage long compat_sys_epoll_pwait(int epfd,
1674 struct compat_epoll_event __user *events, 1671 struct compat_epoll_event __user *events,
1675 int maxevents, int timeout, 1672 int maxevents, int timeout,
@@ -1713,7 +1710,6 @@ asmlinkage long compat_sys_epoll_pwait(int epfd,
1713 1710
1714 return err; 1711 return err;
1715} 1712}
1716#endif /* HAVE_SET_RESTORE_SIGMASK */
1717 1713
1718#endif /* CONFIG_EPOLL */ 1714#endif /* CONFIG_EPOLL */
1719 1715