Commit a64b3848 authored by Mathias Krause's avatar Mathias Krause Committed by Mike Frysinger

Blackfin: 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>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 979365ba
...@@ -140,7 +140,6 @@ EXPORT_SYMBOL(kernel_thread); ...@@ -140,7 +140,6 @@ EXPORT_SYMBOL(kernel_thread);
*/ */
void start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) void start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
{ {
set_fs(USER_DS);
regs->pc = new_ip; regs->pc = new_ip;
if (current->mm) if (current->mm)
regs->p5 = current->mm->start_data; regs->p5 = current->mm->start_data;
......
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