summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/syscalls.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-05-12 12:10:52 +0200
committerMichal Simek <monstr@monstr.eu>2009-05-21 15:56:07 +0200
commita6029d1c8cfc9ac2609195f31c2e70b584d3496e (patch)
tree739930b605c3aae68fe669054cb01dfad1025ffa /arch/microblaze/include/asm/syscalls.h
parent732703af9c3478c3f935dd5ae80140b9b12bda09 (diff)
downloadkernel-common-a6029d1c8cfc9ac2609195f31c2e70b584d3496e.tar.gz
kernel-common-a6029d1c8cfc9ac2609195f31c2e70b584d3496e.tar.bz2
kernel-common-a6029d1c8cfc9ac2609195f31c2e70b584d3496e.zip
microblaze: prepare signal handling for generic unistd.h
We need to define set_restore_sigmask() in order to get pselect and ppoll. Also, the setup_frame function can not be used when __NR_sigreturn is not defined. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/syscalls.h')
-rw-r--r--arch/microblaze/include/asm/syscalls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/syscalls.h b/arch/microblaze/include/asm/syscalls.h
index 9cb4ff0edeb2..ddea9eb31f8d 100644
--- a/arch/microblaze/include/asm/syscalls.h
+++ b/arch/microblaze/include/asm/syscalls.h
@@ -34,6 +34,9 @@ asmlinkage int sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize,
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);