aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/process.c
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2012-01-12 17:17:38 -0800
committerLinus Torvalds <[email protected]>2012-01-12 20:13:04 -0800
commit15ee2d000dd5813fcf1204b078fa276e57046b64 (patch)
treee62a49c43ee959c8a36f21a6548810fee516cd9d /arch/parisc/kernel/process.c
parent01fa310cd9158ebdd1ee95383540ecaa3f4ef3f6 (diff)
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 <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Helge Deller <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r--arch/parisc/kernel/process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 4b4b9181a1a0..62c60b87d039 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -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)