Commit 6883da8c authored by Al Viro's avatar Al Viro

switch compat_sys_sched_rr_get_interval to COMPAT_SYSCALL_DEFINE

... and make it unconditional - we want the sucker on all biarch
platforms, really.  All kinds of wrappers and private implementations
can go now; fortunately, they don't cause name conflicts, so we can
do that one first without any bisect hazards.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9aae8fc0
...@@ -1203,9 +1203,9 @@ compat_sys_sysinfo(struct compat_sysinfo __user *info) ...@@ -1203,9 +1203,9 @@ compat_sys_sysinfo(struct compat_sysinfo __user *info)
return 0; return 0;
} }
#ifdef __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL COMPAT_SYSCALL_DEFINE2(sched_rr_get_interval,
asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, compat_pid_t, pid,
struct compat_timespec __user *interval) struct compat_timespec __user *, interval)
{ {
struct timespec t; struct timespec t;
int ret; int ret;
...@@ -1218,7 +1218,6 @@ asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, ...@@ -1218,7 +1218,6 @@ asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid,
return -EFAULT; return -EFAULT;
return ret; return ret;
} }
#endif /* __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL */
/* /*
* Allocate user-space memory for the duration of a single system call, * Allocate user-space memory for the duration of a single system call,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment