x86/entry: Remove unused 'kernel_stack' per-cpu variable
[deliverable/linux.git] / arch / x86 / kernel / process_64.c
index ddfdbf74f1744c235fb80ee2ee0718152882b2ce..82134506faa8ae939c9b1e216898ef66b1392e4b 100644 (file)
@@ -409,9 +409,6 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
        /* Reload esp0 and ss1.  This changes current_thread_info(). */
        load_sp0(tss, next);
 
-       this_cpu_write(kernel_stack,
-               (unsigned long)task_stack_page(next_p) + THREAD_SIZE);
-
        /*
         * Now maybe reload the debug registers and handle I/O bitmaps
         */
This page took 0.023518 seconds and 5 git commands to generate.