aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-23 03:33:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-26 01:15:02 -0500
commit90228fc110303549aa1d4d86083bf585df8624c3 (patch)
tree5e696392110eb20c67d2ffc9c35eae781e4f5821 /kernel/signal.c
parentf13a3664e4d1de8adc1fc82b981ba4699a731fa1 (diff)
switch compat_sys_sigaltstack() to COMPAT_SYSCALL_DEFINE
Makes sigaltstack conversion easier to split into per-architecture parts. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 7aaa51d8e5b8..00b4a6d4449d 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -3119,8 +3119,9 @@ int __save_altstack(stack_t __user *uss, unsigned long sp)
3119 3119
3120#ifdef CONFIG_COMPAT 3120#ifdef CONFIG_COMPAT
3121#ifdef CONFIG_GENERIC_SIGALTSTACK 3121#ifdef CONFIG_GENERIC_SIGALTSTACK
3122asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, 3122COMPAT_SYSCALL_DEFINE2(sigaltstack,
3123 compat_stack_t __user *uoss_ptr) 3123 const compat_stack_t __user *, uss_ptr,
3124 compat_stack_t __user *, uoss_ptr)
3124{ 3125{
3125 stack_t uss, uoss; 3126 stack_t uss, uoss;
3126 int ret; 3127 int ret;