summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
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/microblaze/kernel
parenta555ad450f973528825201a5fedbe46374f86644 (diff)
downloadop-kernel-dev-74008b365dcb921781f7430c1fc279be7778327b.zip
op-kernel-dev-74008b365dcb921781f7430c1fc279be7778327b.tar.gz
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/microblaze/kernel')
-rw-r--r--arch/microblaze/kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c
index a1cbaf9..20ccd4e 100644
--- a/arch/microblaze/kernel/signal.c
+++ b/arch/microblaze/kernel/signal.c
@@ -236,8 +236,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
/* Offset to handle microblaze rtid r14, 0 */
regs->pc = (unsigned long)ksig->ka.sa.sa_handler;
- set_fs(USER_DS);
-
#ifdef DEBUG_SIG
pr_info("SIG deliver (%s:%d): sp=%p pc=%08lx\n",
current->comm, current->pid, frame, regs->pc);
OpenPOWER on IntegriCloud