Browse Source

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>
Mathias Krause 14 years ago
parent
commit
f796062598
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/m32r/include/asm/processor.h

+ 0 - 1
arch/m32r/include/asm/processor.h

@@ -106,7 +106,6 @@ struct thread_struct {
 
 
 #define start_thread(regs, new_pc, new_spu) 				\
 #define start_thread(regs, new_pc, new_spu) 				\
 	do {								\
 	do {								\
-		set_fs(USER_DS); 					\
 		regs->psw = (regs->psw | USERPS_BPSW) & 0x0000FFFFUL;	\
 		regs->psw = (regs->psw | USERPS_BPSW) & 0x0000FFFFUL;	\
 		regs->bpc = new_pc;					\
 		regs->bpc = new_pc;					\
 		regs->spu = new_spu;					\
 		regs->spu = new_spu;					\