]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
The address limit is already set in flush_old_exec() so this
authorMathias Krause <minipli@googlemail.com>
Sat, 16 Jul 2011 13:30:57 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:59 +0000 (15:04 +1000)
set_fs(USER_DS) is redundant.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/include/asm/processor.h

index 03afe7970748ce4dc5336ba0b9ff4169729965e9..b2d6051a772c9c6cbf2023677564ea4d1a0d0ad0 100644 (file)
@@ -309,7 +309,6 @@ struct thread_struct {
 }
 
 #define start_thread(regs,new_ip,new_sp) do {                                                  \
-       set_fs(USER_DS);                                                                        \
        regs->cr_ipsr = ((regs->cr_ipsr | (IA64_PSR_BITS_TO_SET | IA64_PSR_CPL))                \
                         & ~(IA64_PSR_BITS_TO_CLEAR | IA64_PSR_RI | IA64_PSR_IS));              \
        regs->cr_iip = new_ip;                                                                  \