Skip to content

Commit a0ec99b

Browse files
miniplimichalsimek
authored andcommitted
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: Mathias Krause <minipli@googlemail.com>
1 parent 504a84c commit a0ec99b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/microblaze/kernel/process.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ unsigned long get_wchan(struct task_struct *p)
237237
/* Set up a thread for executing a new program */
238238
void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
239239
{
240-
set_fs(USER_DS);
241240
regs->pc = pc;
242241
regs->r1 = usp;
243242
regs->pt_mode = 0;

0 commit comments

Comments
 (0)