microblaze: clean up signal handling
When legacy signal handling is disabled, the arch/microblaze/kernel/signal.c implementation can be much simpler, as most of it is handled generically from kernel/signal.c. This is also a prerequisite for using the generic asm/unistd.h, which does not provide __NR_sigreturn, because this macro is referenced by the current signal.c implementation. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:

committed by
Michal Simek

parent
0a58458341
commit
3183e06863
@@ -26,23 +26,16 @@ asmlinkage unsigned long sys_mmap(unsigned long addr, size_t len,
|
||||
unsigned long fd, off_t offset);
|
||||
|
||||
/* from signal.c */
|
||||
asmlinkage int sys_sigsuspend(old_sigset_t mask, struct pt_regs *regs);
|
||||
|
||||
asmlinkage int sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize,
|
||||
asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize,
|
||||
struct pt_regs *regs);
|
||||
|
||||
asmlinkage int sys_sigaction(int sig, const struct old_sigaction *act,
|
||||
struct old_sigaction *oact);
|
||||
|
||||
asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
|
||||
struct sigaction __user *oact, size_t sigsetsize);
|
||||
|
||||
asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
|
||||
struct pt_regs *regs);
|
||||
|
||||
asmlinkage int sys_sigreturn(struct pt_regs *regs);
|
||||
|
||||
asmlinkage int sys_rt_sigreturn(struct pt_regs *regs);
|
||||
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* __ASM_MICROBLAZE_SYSCALLS_H */
|
||||
|
Reference in New Issue
Block a user