Skip to content

Commit 6fa8090

Browse files
miniplitorvalds
authored andcommitted
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>
1 parent 023f21b commit 6fa8090

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/alpha/kernel/process.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ show_regs(struct pt_regs *regs)
200200
void
201201
start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
202202
{
203-
set_fs(USER_DS);
204203
regs->pc = pc;
205204
regs->ps = 8;
206205
wrusp(sp);

0 commit comments

Comments
 (0)