From: Al Viro Date: Mon, 26 Nov 2012 00:32:25 +0000 (-0500) Subject: switch compat_sys_rt_sigtimedwait to COMPAT_SYSCALL_DEFINE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28d27f2d25d24ac5dd290b789f3fe9b76590fd95;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git switch compat_sys_rt_sigtimedwait to COMPAT_SYSCALL_DEFINE Signed-off-by: Al Viro --- diff --git a/kernel/compat.c b/kernel/compat.c index e2a9c478598..460e98f8fbf 100644 --- a/kernel/compat.c +++ b/kernel/compat.c @@ -993,10 +993,9 @@ sigset_to_compat(compat_sigset_t *compat, const sigset_t *set) } } -asmlinkage long -compat_sys_rt_sigtimedwait (compat_sigset_t __user *uthese, - struct compat_siginfo __user *uinfo, - struct compat_timespec __user *uts, compat_size_t sigsetsize) +COMPAT_SYSCALL_DEFINE4(rt_sigtimedwait, compat_sigset_t __user *, uthese, + struct compat_siginfo __user *, uinfo, + struct compat_timespec __user *, uts, compat_size_t, sigsetsize) { compat_sigset_t s32; sigset_t s; @@ -1024,7 +1023,6 @@ compat_sys_rt_sigtimedwait (compat_sigset_t __user *uthese, } return ret; - } asmlinkage long