diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-04 19:14:28 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-20 00:56:02 +0300 |
commit | d74f0f47e2787837598c6ff6f75d44cbc3753689 (patch) | |
tree | f0118ecf3debce7dc0ee965be5d20fe7335c6e5f /arch/parisc/kernel/signal32.c | |
parent | 3968cf623892d710e651070243fd16af312a9797 (diff) | |
download | linux-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.c | 13 |
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) |