summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2011-07-25 17:12:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:12 -0700
commit6fa80900db58b547fe1cfdc77c5413091cafa7bd (patch)
tree5365d2626798013a61d45f24cf244aba58d16ce8 /arch/alpha
parent023f21b9ccab71ae963781044a96b922cb4437bf (diff)
downloadop-kernel-dev-6fa80900db58b547fe1cfdc77c5413091cafa7bd.zip
op-kernel-dev-6fa80900db58b547fe1cfdc77c5413091cafa7bd.tar.gz
alpha, exec: remove redundant set_fs(USER_DS)
The address limit is already set in flush_old_exec() so this set_fs(USER_DS) is redundant. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c
index 838eac1..89bbe5b 100644
--- a/arch/alpha/kernel/process.c
+++ b/arch/alpha/kernel/process.c
@@ -200,7 +200,6 @@ show_regs(struct pt_regs *regs)
void
start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
{
- set_fs(USER_DS);
regs->pc = pc;
regs->ps = 8;
wrusp(sp);
OpenPOWER on IntegriCloud