“d123031a5673cd38a85ce66cc07243dfe5f424c9”上不存在“fs/xfs/libxfs/xfs_alloc.c”
提交 a0ec99bd 编写于 作者: M Mathias Krause 提交者: Michal Simek

microblaze: 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: NMathias Krause <minipli@googlemail.com>
上级 504a84c4
...@@ -237,7 +237,6 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -237,7 +237,6 @@ unsigned long get_wchan(struct task_struct *p)
/* Set up a thread for executing a new program */ /* Set up a thread for executing a new program */
void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
{ {
set_fs(USER_DS);
regs->pc = pc; regs->pc = pc;
regs->r1 = usp; regs->r1 = usp;
regs->pt_mode = 0; regs->pt_mode = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册