From 15ee2d000dd5813fcf1204b078fa276e57046b64 Mon Sep 17 00:00:00 2001 From: Mathias Krause Date: Thu, 12 Jan 2012 17:17:38 -0800 Subject: 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 Cc: Kyle McMartin Cc: Helge Deller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/parisc/kernel/process.c | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/parisc/kernel/process.c') 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) -- cgit v1.2.3