From 06a7613a87f1442b46a5afa5d962722ef038b67a Mon Sep 17 00:00:00 2001 From: Mathias Krause Date: Sat, 16 Jul 2011 23:30:54 +1000 Subject: [PATCH] The address limit is already set in flush_old_exec() so this set_fs(USER_DS) is redundant. Signed-off-by: Mathias Krause Cc: Russell King Signed-off-by: Andrew Morton --- arch/arm/include/asm/processor.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index b2d9df5667af..3962caf485c0 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h @@ -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; \ -- 2.39.5