]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
The address limit is already set in flush_old_exec() so this
authorMathias Krause <minipli@googlemail.com>
Sat, 16 Jul 2011 13:31:09 +0000 (23:31 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:05:18 +0000 (15:05 +1000)
set_fs(USER_DS) is redundant.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/um/kernel/exec.c

index 09bd7b585726cdcd2109a5a70250a8871bbdcaf7..939a4a67f0fdd6819522c3f86f5451a4063fe617 100644 (file)
@@ -38,7 +38,6 @@ void flush_thread(void)
 
 void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
 {
-       set_fs(USER_DS);
        PT_REGS_IP(regs) = eip;
        PT_REGS_SP(regs) = esp;
 }