Commit 6fa80900 authored by Mathias Krause's avatar Mathias Krause Committed by Linus Torvalds

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: default avatarMathias 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 023f21b9
...@@ -200,7 +200,6 @@ show_regs(struct pt_regs *regs) ...@@ -200,7 +200,6 @@ show_regs(struct pt_regs *regs)
void void
start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
{ {
set_fs(USER_DS);
regs->pc = pc; regs->pc = pc;
regs->ps = 8; regs->ps = 8;
wrusp(sp); wrusp(sp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment