Skip to content

Commit

Permalink
switch compat_sys_sigaltstack() to COMPAT_SYSCALL_DEFINE
Browse files Browse the repository at this point in the history
Makes sigaltstack conversion easier to split into per-architecture
parts.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Dec 26, 2012
1 parent f13a366 commit 90228fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,8 +3119,9 @@ int __save_altstack(stack_t __user *uss, unsigned long sp)

#ifdef CONFIG_COMPAT
#ifdef CONFIG_GENERIC_SIGALTSTACK
asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr,
compat_stack_t __user *uoss_ptr)
COMPAT_SYSCALL_DEFINE2(sigaltstack,
const compat_stack_t __user *, uss_ptr,
compat_stack_t __user *, uoss_ptr)
{
stack_t uss, uoss;
int ret;
Expand Down

0 comments on commit 90228fc

Please sign in to comment.