Skip to content

Commit

Permalink
avr32, exec: remove redundant set_fs(USER_DS)
Browse files Browse the repository at this point in the history
The address limit is already set in flush_old_exec() so this
set_fs(USER_DS) is redundant.

Signed-off-by: Mathias Krause <[email protected]>
Signed-off-by: Hans-Christian Egtvedt <[email protected]>
  • Loading branch information
minipli authored and Hans-Christian Egtvedt committed Jun 14, 2011
1 parent c162755 commit ff71db2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/avr32/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ struct thread_struct {
*/
#define start_thread(regs, new_pc, new_sp) \
do { \
set_fs(USER_DS); \
memset(regs, 0, sizeof(*regs)); \
regs->sr = MODE_USER; \
regs->pc = new_pc & ~1; \
Expand Down

0 comments on commit ff71db2

Please sign in to comment.