diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/processor.h | 2 | ||||
-rw-r--r-- | arch/parisc/kernel/process.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index 9ce66e9d1c2b..7213ec9e594c 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h | |||
@@ -196,7 +196,6 @@ typedef unsigned int elf_caddr_t; | |||
196 | /* offset pc for priv. level */ \ | 196 | /* offset pc for priv. level */ \ |
197 | pc |= 3; \ | 197 | pc |= 3; \ |
198 | \ | 198 | \ |
199 | set_fs(USER_DS); \ | ||
200 | regs->iasq[0] = spaceid; \ | 199 | regs->iasq[0] = spaceid; \ |
201 | regs->iasq[1] = spaceid; \ | 200 | regs->iasq[1] = spaceid; \ |
202 | regs->iaoq[0] = pc; \ | 201 | regs->iaoq[0] = pc; \ |
@@ -299,7 +298,6 @@ on downward growing arches, it looks like this: | |||
299 | elf_addr_t pc = (elf_addr_t)new_pc | 3; \ | 298 | elf_addr_t pc = (elf_addr_t)new_pc | 3; \ |
300 | elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \ | 299 | elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \ |
301 | \ | 300 | \ |
302 | set_fs(USER_DS); \ | ||
303 | regs->iasq[0] = spaceid; \ | 301 | regs->iasq[0] = spaceid; \ |
304 | regs->iasq[1] = spaceid; \ | 302 | regs->iasq[1] = spaceid; \ |
305 | regs->iaoq[0] = pc; \ | 303 | regs->iaoq[0] = pc; \ |
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) | |||
192 | /* Only needs to handle fpu stuff or perf monitors. | 192 | /* Only needs to handle fpu stuff or perf monitors. |
193 | ** REVISIT: several arches implement a "lazy fpu state". | 193 | ** REVISIT: several arches implement a "lazy fpu state". |
194 | */ | 194 | */ |
195 | set_fs(USER_DS); | ||
196 | } | 195 | } |
197 | 196 | ||
198 | void release_thread(struct task_struct *dead_task) | 197 | void release_thread(struct task_struct *dead_task) |