Skip to content

Commit e88443c

Browse files
minipliRussell King
authored andcommitted
ARM: 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent b21d55e commit e88443c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/arm/include/asm/processor.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ struct thread_struct {
5555
#define start_thread(regs,pc,sp) \
5656
({ \
5757
unsigned long *stack = (unsigned long *)sp; \
58-
set_fs(USER_DS); \
5958
memset(regs->uregs, 0, sizeof(regs->uregs)); \
6059
if (current->personality & ADDR_LIMIT_32BIT) \
6160
regs->ARM_cpsr = USR_MODE; \

0 commit comments

Comments
 (0)