summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-23 11:46:21 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-12 04:24:31 +0200
commit74008b365dcb921781f7430c1fc279be7778327b (patch)
treed601ad67cae3c3f9a10af900eecbf330e956b83e /arch/xtensa/kernel/signal.c
parentwhack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread() (diff)
downloadlinux-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/xtensa/kernel/signal.c')
-rw-r--r--arch/xtensa/kernel/signal.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c
index 3d733ba16f28..6b3790445cbe 100644
--- a/arch/xtensa/kernel/signal.c
+++ b/arch/xtensa/kernel/signal.c
@@ -405,11 +405,6 @@ static int setup_frame(struct ksignal *ksig, sigset_t *set,
regs->areg[8] = (unsigned long) &frame->uc;
regs->threadptr = tp;
- /* Set access mode to USER_DS. Nomenclature is outdated, but
- * functionality is used in uaccess.h
- */
- set_fs(USER_DS);
-
#if DEBUG_SIG
printk("SIG rt deliver (%s:%d): signal=%d sp=%p pc=%08x\n",
current->comm, current->pid, signal, frame, regs->pc);