This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / i386 / kernel / vm86.c
index a5af5ec..e0e3bdf 100644 (file)
@@ -125,7 +125,7 @@ struct pt_regs * fastcall save_v86_state(struct kernel_vm86_regs * regs)
        tss = init_tss + get_cpu();
        current->thread.esp0 = current->thread.saved_esp0;
        current->thread.sysenter_cs = __KERNEL_CS;
-       load_esp0(tss, &current->thread);
+       load_virtual_esp0(tss, current);
        current->thread.saved_esp0 = 0;
        put_cpu();
 
@@ -305,7 +305,7 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
        tsk->thread.esp0 = (unsigned long) &info->VM86_TSS_ESP0;
        if (cpu_has_sep)
                tsk->thread.sysenter_cs = 0;
-       load_esp0(tss, &tsk->thread);
+       load_virtual_esp0(tss, tsk);
        put_cpu();
 
        tsk->thread.screen_bitmap = info->screen_bitmap;