aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 7530fdd7c982..133762aece50 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2746,7 +2746,7 @@ context_switch(struct rq *rq, struct task_struct *prev,
2746 * combine the page table reload and the switch backend into 2746 * combine the page table reload and the switch backend into
2747 * one hypercall. 2747 * one hypercall.
2748 */ 2748 */
2749 arch_start_context_switch(); 2749 arch_start_context_switch(prev);
2750 2750
2751 if (unlikely(!mm)) { 2751 if (unlikely(!mm)) {
2752 next->active_mm = oldmm; 2752 next->active_mm = oldmm;