|
@@ -238,7 +238,6 @@ start_thread_common(struct pt_regs *regs, unsigned long new_ip,
|
|
|
current->thread.usersp = new_sp;
|
|
|
regs->ip = new_ip;
|
|
|
regs->sp = new_sp;
|
|
|
- this_cpu_write(old_rsp, new_sp);
|
|
|
regs->cs = _cs;
|
|
|
regs->ss = _ss;
|
|
|
regs->flags = X86_EFLAGS_IF;
|
|
@@ -399,7 +398,6 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
|
|
|
* Switch the PDA and FPU contexts.
|
|
|
*/
|
|
|
prev->usersp = this_cpu_read(old_rsp);
|
|
|
- this_cpu_write(old_rsp, next->usersp);
|
|
|
this_cpu_write(current_task, next_p);
|
|
|
|
|
|
/*
|