mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue