Merge commit 'origin/master' into for-linus/xen/master
[cascardo/linux.git] / arch / x86 / kernel / process_32.c
index 76f8f84..5de30f0 100644 (file)
@@ -407,7 +407,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
         * done before math_state_restore, so the TS bit is up
         * to date.
         */
-       arch_leave_lazy_cpu_mode();
+       arch_end_context_switch(next_p);
 
        /* If the task has used fpu the last 5 timeslices, just do a full
         * restore of the math state immediately to avoid the trap; the