projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7213de0
)
um, exec: remove redundant set_fs(USER_DS)
author
Mathias Krause
<minipli@googlemail.com>
Tue, 26 Jul 2011 00:12:45 +0000
(17:12 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:12 +0000
(20:57 -0700)
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>
arch/um/kernel/exec.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/kernel/exec.c
b/arch/um/kernel/exec.c
index 09bd7b585726cdcd2109a5a70250a8871bbdcaf7..939a4a67f0fdd6819522c3f86f5451a4063fe617 100644
(file)
--- 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;
}