Skip to content

Commit ff71db2

Browse files
minipliHans-Christian Egtvedt
authored andcommitted
avr32, 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: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
1 parent c162755 commit ff71db2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ struct thread_struct {
131131
*/
132132
#define start_thread(regs, new_pc, new_sp) \
133133
do { \
134-
set_fs(USER_DS); \
135134
memset(regs, 0, sizeof(*regs)); \
136135
regs->sr = MODE_USER; \
137136
regs->pc = new_pc & ~1; \

0 commit comments

Comments
 (0)