|
@@ -302,13 +302,10 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
|
|
|
arch_end_context_switch(next_p);
|
|
|
|
|
|
/*
|
|
|
- * Reload esp0, kernel_stack, and current_top_of_stack. This changes
|
|
|
+ * Reload esp0 and cpu_current_top_of_stack. This changes
|
|
|
* current_thread_info().
|
|
|
*/
|
|
|
load_sp0(tss, next);
|
|
|
- this_cpu_write(kernel_stack,
|
|
|
- (unsigned long)task_stack_page(next_p) +
|
|
|
- THREAD_SIZE);
|
|
|
this_cpu_write(cpu_current_top_of_stack,
|
|
|
(unsigned long)task_stack_page(next_p) +
|
|
|
THREAD_SIZE);
|