parisc, exec: remove redundant set_fs(USER_DS)
The address limit is already set in flush_old_exec() so those calls to set_fs(USER_DS) are redundant. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
01fa310cd9
commit
15ee2d000d
@@ -192,7 +192,6 @@ void flush_thread(void)
|
||||
/* Only needs to handle fpu stuff or perf monitors.
|
||||
** REVISIT: several arches implement a "lazy fpu state".
|
||||
*/
|
||||
set_fs(USER_DS);
|
||||
}
|
||||
|
||||
void release_thread(struct task_struct *dead_task)
|
||||
|
Reference in New Issue
Block a user