mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
sh, exec: remove redundant set_fs(USER_DS)
The address limit is already set in flush_old_exec() so those calls to set_fs(USER_DS) are redundant. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
9aa7719e0c
commit
201fbceb25
2 changed files with 0 additions and 3 deletions
|
@ -102,8 +102,6 @@ EXPORT_SYMBOL(kernel_thread);
|
|||
void start_thread(struct pt_regs *regs, unsigned long new_pc,
|
||||
unsigned long new_sp)
|
||||
{
|
||||
set_fs(USER_DS);
|
||||
|
||||
regs->pr = 0;
|
||||
regs->sr = SR_FD;
|
||||
regs->pc = new_pc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue