summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/compat_linux.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-23 03:36:41 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:16:11 -0500
commite214125aa8c0546b24dabf6f47b28c5e20133d1d (patch)
tree64405963bd20f04e42b411f115fda7530a906d6e /arch/s390/kernel/compat_linux.h
parent0aa0203fb43f04714004b2c4ad33b858e240555d (diff)
s390: switch to generic sigaltstack
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/kernel/compat_linux.h')
-rw-r--r--arch/s390/kernel/compat_linux.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/s390/kernel/compat_linux.h b/arch/s390/kernel/compat_linux.h
index d4d0239970a..e2b2a51cf49 100644
--- a/arch/s390/kernel/compat_linux.h
+++ b/arch/s390/kernel/compat_linux.h
@@ -75,17 +75,11 @@ struct sigaction32 {
compat_sigset_t sa_mask; /* mask last for extensibility */
};
-typedef struct {
- __u32 ss_sp; /* pointer */
- int ss_flags;
- compat_size_t ss_size;
-} stack_t32;
-
/* asm/ucontext.h */
struct ucontext32 {
__u32 uc_flags;
__u32 uc_link; /* pointer */
- stack_t32 uc_stack;
+ compat_stack_t uc_stack;
_sigregs32 uc_mcontext;
compat_sigset_t uc_sigmask; /* mask last for extensibility */
};
@@ -153,5 +147,4 @@ long sys32_sigaction(int sig, const struct old_sigaction32 __user *act,
struct old_sigaction32 __user *oact);
long sys32_rt_sigaction(int sig, const struct sigaction32 __user *act,
struct sigaction32 __user *oact, size_t sigsetsize);
-long sys32_sigaltstack(const stack_t32 __user *uss, stack_t32 __user *uoss);
#endif /* _ASM_S390X_S390_H */