aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-23 05:46:21 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 22:24:31 -0400
commit74008b365dcb921781f7430c1fc279be7778327b (patch)
treed601ad67cae3c3f9a10af900eecbf330e956b83e /arch/xtensa
parenta555ad450f973528825201a5fedbe46374f86644 (diff)
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')
-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,
405 regs->areg[8] = (unsigned long) &frame->uc; 405 regs->areg[8] = (unsigned long) &frame->uc;
406 regs->threadptr = tp; 406 regs->threadptr = tp;
407 407
408 /* Set access mode to USER_DS. Nomenclature is outdated, but
409 * functionality is used in uaccess.h
410 */
411 set_fs(USER_DS);
412
413#if DEBUG_SIG 408#if DEBUG_SIG
414 printk("SIG rt deliver (%s:%d): signal=%d sp=%p pc=%08x\n", 409 printk("SIG rt deliver (%s:%d): signal=%d sp=%p pc=%08x\n",
415 current->comm, current->pid, signal, frame, regs->pc); 410 current->comm, current->pid, signal, frame, regs->pc);