Commit 0aa0203f authored by Al Viro's avatar Al Viro
Browse files

take sys_rt_sigsuspend() prototype to linux/syscalls.h


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 709410a0
...@@ -22,8 +22,6 @@ asmlinkage long ppc64_personality(unsigned long personality); ...@@ -22,8 +22,6 @@ asmlinkage long ppc64_personality(unsigned long personality);
asmlinkage int ppc_rtas(struct rtas_args __user *uargs); asmlinkage int ppc_rtas(struct rtas_args __user *uargs);
asmlinkage time_t sys64_time(time_t __user * tloc); asmlinkage time_t sys64_time(time_t __user * tloc);
asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset,
size_t sigsetsize);
asmlinkage long sys_sigaltstack(const stack_t __user *uss, asmlinkage long sys_sigaltstack(const stack_t __user *uss,
stack_t __user *uoss, unsigned long r5, unsigned long r6, stack_t __user *uoss, unsigned long r5, unsigned long r6,
unsigned long r7, unsigned long r8, struct pt_regs *regs); unsigned long r7, unsigned long r8, struct pt_regs *regs);
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
#ifdef CONFIG_PPC64 #ifdef CONFIG_PPC64
#define sys_sigsuspend compat_sys_sigsuspend #define sys_sigsuspend compat_sys_sigsuspend
#define sys_rt_sigsuspend compat_sys_rt_sigsuspend
#define sys_rt_sigreturn compat_sys_rt_sigreturn #define sys_rt_sigreturn compat_sys_rt_sigreturn
#define sys_sigaction compat_sys_sigaction #define sys_sigaction compat_sys_sigaction
#define sys_swapcontext compat_sys_swapcontext #define sys_swapcontext compat_sys_swapcontext
......
...@@ -26,4 +26,3 @@ asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, ...@@ -26,4 +26,3 @@ asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
struct timespec __user *tsp, struct timespec __user *tsp,
const sigset_t __user *sigmask, const sigset_t __user *sigmask,
size_t sigsetsize); size_t sigsetsize);
asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
...@@ -32,8 +32,4 @@ asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *, ...@@ -32,8 +32,4 @@ asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
#endif #endif
#ifndef sys_rt_sigsuspend
asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
#endif
#endif /* __ASM_GENERIC_SYSCALLS_H */ #endif /* __ASM_GENERIC_SYSCALLS_H */
...@@ -385,6 +385,8 @@ asmlinkage long sys_sigsuspend(old_sigset_t mask); ...@@ -385,6 +385,8 @@ asmlinkage long sys_sigsuspend(old_sigset_t mask);
asmlinkage long sys_sigsuspend(int unused1, int unused2, old_sigset_t mask); asmlinkage long sys_sigsuspend(int unused1, int unused2, old_sigset_t mask);
#endif #endif
asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
#ifdef CONFIG_OLD_SIGACTION #ifdef CONFIG_OLD_SIGACTION
asmlinkage long sys_sigaction(int, const struct old_sigaction __user *, asmlinkage long sys_sigaction(int, const struct old_sigaction __user *,
struct old_sigaction __user *); struct old_sigaction __user *);
......
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