Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mathias Krause and committed by
Michal Simek
a0ec99bd 504a84c4

-1
-1
arch/microblaze/kernel/process.c
··· 237 237 /* Set up a thread for executing a new program */ 238 238 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) 239 239 { 240 - set_fs(USER_DS); 241 240 regs->pc = pc; 242 241 regs->r1 = usp; 243 242 regs->pt_mode = 0;