aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 19:23:55 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:16:16 -0500
commit0679a858c5439bf4bc05fd211d3690f82fefa5b6 (patch)
treebe14ceaf88aeef764efb0521cc31fad9056fb09c /arch/sh/include
parent881e252d6b37d7526008e3dcd4592823d9273e1f (diff)
sh: switch to generic old sigaction()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/syscalls_32.h2
-rw-r--r--arch/sh/include/uapi/asm/signal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h
index dc72388e6e5b..4f97df87d7d5 100644
--- a/arch/sh/include/asm/syscalls_32.h
+++ b/arch/sh/include/asm/syscalls_32.h
@@ -9,8 +9,6 @@
9 9
10struct pt_regs; 10struct pt_regs;
11 11
12asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act,
13 struct old_sigaction __user *oact);
14asmlinkage int sys_sigreturn(unsigned long r4, unsigned long r5, 12asmlinkage int sys_sigreturn(unsigned long r4, unsigned long r5,
15 unsigned long r6, unsigned long r7, 13 unsigned long r6, unsigned long r7,
16 struct pt_regs __regs); 14 struct pt_regs __regs);
diff --git a/arch/sh/include/uapi/asm/signal.h b/arch/sh/include/uapi/asm/signal.h
index 9ac530a90bce..cb96d02f55a4 100644
--- a/arch/sh/include/uapi/asm/signal.h
+++ b/arch/sh/include/uapi/asm/signal.h
@@ -5,11 +5,13 @@
5 5
6#include <asm-generic/signal.h> 6#include <asm-generic/signal.h>
7 7
8#ifndef __KERNEL__
8struct old_sigaction { 9struct old_sigaction {
9 __sighandler_t sa_handler; 10 __sighandler_t sa_handler;
10 old_sigset_t sa_mask; 11 old_sigset_t sa_mask;
11 unsigned long sa_flags; 12 unsigned long sa_flags;
12 void (*sa_restorer)(void); 13 void (*sa_restorer)(void);
13}; 14};
15#endif
14 16
15#endif /* __ASM_SH_SIGNAL_H */ 17#endif /* __ASM_SH_SIGNAL_H */