]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
The address limit is already set in flush_old_exec() so this
authorMathias Krause <minipli@googlemail.com>
Tue, 26 Jul 2011 10:14:42 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 05:14:18 +0000 (15:14 +1000)
set_fs(USER_DS) is redundant.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/include/asm/processor.h

index b2d9df5667af937476baf5e64ded8520ea3fd5d4..3962caf485c09776f7f493e9e05ef1841190b4ae 100644 (file)
@@ -55,7 +55,6 @@ struct thread_struct {
 #define start_thread(regs,pc,sp)                                       \
 ({                                                                     \
        unsigned long *stack = (unsigned long *)sp;                     \
-       set_fs(USER_DS);                                                \
        memset(regs->uregs, 0, sizeof(regs->uregs));                    \
        if (current->personality & ADDR_LIMIT_32BIT)                    \
                regs->ARM_cpsr = USR_MODE;                              \