summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2011-07-26 02:12:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 05:57:12 +0200
commitc0ce5b673457123406f19e616bb8cf20a0c12cb5 (patch)
tree6030fea4f65460ccb1bcfe0752ab97cc85810081 /arch/um
parentum: clean up vm-flags.h (diff)
downloadlinux-c0ce5b673457123406f19e616bb8cf20a0c12cb5.tar.xz
linux-c0ce5b673457123406f19e616bb8cf20a0c12cb5.zip
um, 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> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c
index 09bd7b585726..939a4a67f0fd 100644
--- a/arch/um/kernel/exec.c
+++ b/arch/um/kernel/exec.c
@@ -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;
}