From: Mathias Krause Date: Tue, 26 Jul 2011 00:12:40 +0000 (-0700) Subject: m32r, exec: remove redundant set_fs(USER_DS) X-Git-Tag: v3.1-rc1~241^2~65 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f796062598235b9f73086d0fb779e120ae9581a0;p=~emulex%2Finfiniband.git 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 Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/m32r/include/asm/processor.h b/arch/m32r/include/asm/processor.h index 8397c249989..e1f46d75746 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; \