diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-23 05:46:21 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:24:31 -0400 |
commit | 74008b365dcb921781f7430c1fc279be7778327b (patch) | |
tree | d601ad67cae3c3f9a10af900eecbf330e956b83e /arch/xtensa/kernel/signal.c | |
parent | a555ad450f973528825201a5fedbe46374f86644 (diff) | |
download | linux-74008b365dcb921781f7430c1fc279be7778327b.tar.gz linux-74008b365dcb921781f7430c1fc279be7778327b.tar.bz2 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.c | 5 |
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); |