Message ID | 1446660465-23590-1-git-send-email-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
Applied to the master-next branch of Wily.
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 7e3bedb..7e2ef5d 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -83,6 +83,9 @@ EXPORT_SYMBOL_GPL(idle_notifier_unregister); int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src) { memcpy(dst, src, arch_task_struct_size); +#ifdef CONFIG_VM86 + dst->thread.vm86 = NULL; +#endif return fpu__copy(&dst->thread.fpu, &src->thread.fpu); }