diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 18:53:43 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:07 -0500 |
commit | b0f95824f2e91fb0df59fd63ddd6b36a94c05699 (patch) | |
tree | c8470a84f91a533ce220a239f0566c8a519c31e6 /arch/parisc/kernel/signal32.h | |
parent | d914b8dcbbde8e47b6762d66600ea66ccd18ef45 (diff) |
parisc: switch to generic compat rt_sigaction()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/signal32.h')
-rw-r--r-- | arch/parisc/kernel/signal32.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/parisc/kernel/signal32.h b/arch/parisc/kernel/signal32.h index 640dc3ec8f5d..72ab41a51f32 100644 --- a/arch/parisc/kernel/signal32.h +++ b/arch/parisc/kernel/signal32.h | |||
@@ -21,17 +21,6 @@ | |||
21 | 21 | ||
22 | #include <linux/compat.h> | 22 | #include <linux/compat.h> |
23 | 23 | ||
24 | typedef compat_uptr_t compat_sighandler_t; | ||
25 | |||
26 | /* Most things should be clean enough to redefine this at will, if care | ||
27 | is taken to make libc match. */ | ||
28 | |||
29 | struct compat_sigaction { | ||
30 | compat_sighandler_t sa_handler; | ||
31 | compat_uint_t sa_flags; | ||
32 | compat_sigset_t sa_mask; /* mask last for extensibility */ | ||
33 | }; | ||
34 | |||
35 | /* 32-bit ucontext as seen from an 64-bit kernel */ | 24 | /* 32-bit ucontext as seen from an 64-bit kernel */ |
36 | struct compat_ucontext { | 25 | struct compat_ucontext { |
37 | compat_uint_t uc_flags; | 26 | compat_uint_t uc_flags; |
@@ -45,10 +34,6 @@ struct compat_ucontext { | |||
45 | 34 | ||
46 | /* ELF32 signal handling */ | 35 | /* ELF32 signal handling */ |
47 | 36 | ||
48 | struct k_sigaction32 { | ||
49 | struct compat_sigaction sa; | ||
50 | }; | ||
51 | |||
52 | int copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from); | 37 | int copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from); |
53 | int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from); | 38 | int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from); |
54 | 39 | ||