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: Mathias Krause <minipli@googlemail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
979365ba4e
commit
a64b384818
@ -140,7 +140,6 @@ EXPORT_SYMBOL(kernel_thread);
|
||||
*/
|
||||
void start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
|
||||
{
|
||||
set_fs(USER_DS);
|
||||
regs->pc = new_ip;
|
||||
if (current->mm)
|
||||
regs->p5 = current->mm->start_data;
|
||||
|
Loading…
Reference in New Issue
Block a user