summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2011-07-26 02:12:40 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 05:57:12 +0200
commitf796062598235b9f73086d0fb779e120ae9581a0 (patch)
treeeda641121623c6eef7be4753f18e0160b6d90ba5 /arch/m32r
parentalpha, exec: remove redundant set_fs(USER_DS) (diff)
downloadlinux-f796062598235b9f73086d0fb779e120ae9581a0.tar.xz
linux-f796062598235b9f73086d0fb779e120ae9581a0.zip
m32r, 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: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/include/asm/processor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m32r/include/asm/processor.h b/arch/m32r/include/asm/processor.h
index 8397c249989b..e1f46d757460 100644
--- a/arch/m32r/include/asm/processor.h
+++ b/arch/m32r/include/asm/processor.h
@@ -106,7 +106,6 @@ struct thread_struct {
#define start_thread(regs, new_pc, new_spu) \
do { \
- set_fs(USER_DS); \
regs->psw = (regs->psw | USERPS_BPSW) & 0x0000FFFFUL; \
regs->bpc = new_pc; \
regs->spu = new_spu; \