summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/signal32.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-09-04 19:14:28 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-09-20 00:56:02 +0300
commitd74f0f47e2787837598c6ff6f75d44cbc3753689 (patch)
treef0118ecf3debce7dc0ee965be5d20fe7335c6e5f /arch/parisc/kernel/signal32.c
parent3968cf623892d710e651070243fd16af312a9797 (diff)
downloadlinux-d74f0f47e2787837598c6ff6f75d44cbc3753689.tar.xz
parisc: switch to {get,put}_compat_sigset()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/signal32.c')
-rw-r--r--arch/parisc/kernel/signal32.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/parisc/kernel/signal32.c b/arch/parisc/kernel/signal32.c
index 9e0cb6a577d6..41afa9cd1f55 100644
--- a/arch/parisc/kernel/signal32.c
+++ b/arch/parisc/kernel/signal32.c
@@ -46,19 +46,6 @@
#define DBG(LEVEL, ...)
#endif
-inline void
-sigset_32to64(sigset_t *s64, compat_sigset_t *s32)
-{
- s64->sig[0] = s32->sig[0] | ((unsigned long)s32->sig[1] << 32);
-}
-
-inline void
-sigset_64to32(compat_sigset_t *s32, sigset_t *s64)
-{
- s32->sig[0] = s64->sig[0] & 0xffffffffUL;
- s32->sig[1] = (s64->sig[0] >> 32) & 0xffffffffUL;
-}
-
long
restore_sigcontext32(struct compat_sigcontext __user *sc, struct compat_regfile __user * rf,
struct pt_regs *regs)