diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-23 11:46:21 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-12 04:24:31 +0200 |
commit | 74008b365dcb921781f7430c1fc279be7778327b (patch) | |
tree | d601ad67cae3c3f9a10af900eecbf330e956b83e /arch/sh/kernel/signal_32.c | |
parent | whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread() (diff) | |
download | linux-74008b365dcb921781f7430c1fc279be7778327b.tar.xz linux-74008b365dcb921781f7430c1fc279be7778327b.zip |
whack-a-mole: there's no point doing set_fs(USER_DS) in sigframe setup
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/kernel/signal_32.c')
-rw-r--r-- | arch/sh/kernel/signal_32.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index 0b34f2a704fe..97292890b51b 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c @@ -329,8 +329,6 @@ static int setup_frame(struct ksignal *ksig, sigset_t *set, if (err) return -EFAULT; - set_fs(USER_DS); - pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); @@ -408,8 +406,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, if (err) return -EFAULT; - set_fs(USER_DS); - pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); |